#361663

A color in the Violet family

#361663 is a color in the Violet family: RGB(54, 22, 99), HSL(265°, 64%, 24%), CMYK(45%, 78%, 0%, 61%). Closest named color: midnightblue. Contrast is 14.46:1 on white and 1.45:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#361663
RGBrgb(54 22 99)
RGB (legacy)rgb(54, 22, 99)
RGB %rgb(21% 9% 39%)
HSLhsl(265 64% 24%)
HSV / HSBhsv(265, 78%, 39%)
HWBhwb(265 9% 61%)
CMYKcmyk(45%, 78%, 0%, 61%)
CIELAB (D50)lab(16.27 29.6 -40.07)
LCHlch(16.27 49.82 306.46)
OKLaboklab(0.2976 0.0572 -0.1128)
OKLCHoklch(0.2976 0.1264 296.9)
Decimal3544675

Properties

Color ToneViolet
Closest named colormidnightblue ΔE 6
Closest web-safe color#330066
Hue265°
Saturation (HSL / HSV)64% / 78%
Lightness (HSL)24%
Brightness or Value (HSV)39%
Luminance (Rec.601 / Rec.709)16% / 13%
Relative luminance (WCAG)0.0226
Red / Green / Blue54 / 22 / 99

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.46:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.45:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 100.7 / 0 · As background with white / black text: Lc -103.7 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #361663;
  --color-brand-oklch: oklch(29.76% 0.1264 296.9);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(54 22 99 / 50%); }
/* Tailwind CSS */
<div class="bg-[#361663] text-[#361663] border-[#361663]">