#241564#241564

#241564 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.129 H 282.6°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#241564
RGBrgb(36, 21, 100)
HSLhsl(251, 65%, 24%)
HSVhsv(251, 79%, 39%)
CMYKcmyk(64%, 79%, 0%, 60.8%)
CIE-LABlab(14.58, 31.25, -43.79)
CIE-LCHlch(14.58, 53.80, 305.51°)
OKLaboklab(27.74% 0.0283 -0.1262)
OKLCHoklch(27.74% 0.129 282.6)
XYZxyz(3.2953, 1.8313, 12.2339)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241564 #556415
analogous
#152D64 #241564 #4B1564
triadic
#241564 #642415 #156424
tetradic
#241564 #64152D #556415 #15644B
square
#241564 #64152D #556415 #15644B
split-complementary
#241564 #644B15 #2D6415
monochromatic
#090519 #120A31 #241564 #362097 #482AC9

Accessibility & contrast

On white

15.37
#241564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241564
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241564#FFFFFF#000000##FFFFFF
##2415641.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241564;
/* rgb */ color: rgb(36, 21, 100);
/* oklch */ color: oklch(27.7% 0.129 282.6);
Tailwind
colors: {
  custom: {
    50: '#685491',
    500: '#241564',
    950: '#000000',
  },
}
SCSS
$custom: #241564;
$custom-light: #685491;
$custom-dark: #000000;
JSON
{
  "hex": "#241564",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 251.392,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27736,
    "c": 0.12938,
    "h": 282.6
  },
  "luminance": 0.01831
}

Semantic roles & 50–950 ramp

primary
#241564
secondary
#899B3A
accent
#E840C8
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #241564

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

Preview Lab → · Contrast checker → · Palette generator →

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