#241566#241566

#241566 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.132 H 282.2°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#241566
RGBrgb(36, 21, 102)
HSLhsl(251, 66%, 24%)
HSVhsv(251, 79%, 40%)
CMYKcmyk(64.7%, 79.4%, 0%, 60%)
CIE-LABlab(14.79, 31.91, -44.76)
CIE-LCHlch(14.79, 54.97, 305.49°)
OKLaboklab(27.95% 0.0278 -0.1291)
OKLCHoklch(27.95% 0.132 282.2)
XYZxyz(3.3932, 1.8705, 12.7500)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241566 #576615
analogous
#152F66 #241566 #4D1566
triadic
#241566 #662415 #156624
tetradic
#241566 #66152F #576615 #15664D
square
#241566 #66152F #576615 #15664D
split-complementary
#241566 #664D15 #2F6615
monochromatic
#090519 #120B33 #241566 #361F99 #482ACC

Accessibility & contrast

On white

15.28
#241566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241566
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241566#FFFFFF#000000##FFFFFF
##2415661.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002868
Deuteranopia (green-blind)
#002265
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #241566;
/* rgb */ color: rgb(36, 21, 102);
/* oklch */ color: oklch(28.0% 0.132 282.2);
Tailwind
colors: {
  custom: {
    50: '#685493',
    500: '#241566',
    950: '#000000',
  },
}
SCSS
$custom: #241566;
$custom-light: #685493;
$custom-dark: #000000;
JSON
{
  "hex": "#241566",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 251.111,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27954,
    "c": 0.13202,
    "h": 282.2
  },
  "luminance": 0.01871
}

Semantic roles & 50–950 ramp

primary
#241566
secondary
#8B9D3A
accent
#E93FC9
background
#F6F5F9
surface
#EBE8F1
border
#C6C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #241566

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

Preview Lab → · Contrast checker → · Palette generator →

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