#241664#241664

#241664 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 27.9% C 0.128 H 282.4°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#241664
RGBrgb(36, 22, 100)
HSLhsl(251, 64%, 24%)
HSVhsv(251, 78%, 39%)
CMYKcmyk(64%, 78%, 0%, 60.8%)
CIE-LABlab(14.78, 30.66, -43.45)
CIE-LCHlch(14.78, 53.18, 305.21°)
OKLaboklab(27.88% 0.0275 -0.1253)
OKLCHoklch(27.88% 0.128 282.4)
XYZxyz(3.3140, 1.8688, 12.2402)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241664 #566416
analogous
#162F64 #241664 #4B1664
triadic
#241664 #642416 #166424
tetradic
#241664 #64162F #566416 #16644B
square
#241664 #64162F #566416 #16644B
split-complementary
#241664 #644B16 #2F6416
monochromatic
#090619 #120B32 #241664 #362196 #482CC8

Accessibility & contrast

On white

15.29
#241664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#241664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241664
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241664#FFFFFF#000000##FFFFFF
##2416641.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002263
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #241664;
/* rgb */ color: rgb(36, 22, 100);
/* oklch */ color: oklch(27.9% 0.128 282.4);
Tailwind
colors: {
  custom: {
    50: '#685591',
    500: '#241664',
    950: '#000000',
  },
}
SCSS
$custom: #241664;
$custom-light: #685591;
$custom-dark: #000000;
JSON
{
  "hex": "#241664",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 250.769,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27883,
    "c": 0.12825,
    "h": 282.4
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#241664
secondary
#8A9B3B
accent
#E741C9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #241664

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#241664 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva