#241565#241565

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

Color values

HEX#241565
RGBrgb(36, 21, 101)
HSLhsl(251, 66%, 24%)
HSVhsv(251, 79%, 40%)
CMYKcmyk(64.4%, 79.2%, 0%, 60.4%)
CIE-LABlab(14.68, 31.58, -44.27)
CIE-LCHlch(14.68, 54.38, 305.50°)
OKLaboklab(27.85% 0.0281 -0.1277)
OKLCHoklch(27.85% 0.131 282.4)
XYZxyz(3.3440, 1.8508, 12.4904)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241565 #566515
analogous
#152E65 #241565 #4C1565
triadic
#241565 #652415 #156524
tetradic
#241565 #65152E #566515 #15654C
square
#241565 #65152E #566515 #15654C
split-complementary
#241565 #654C15 #2E6515
monochromatic
#090519 #120A32 #241565 #362098 #482ACA

Accessibility & contrast

On white

15.33
#241565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241565
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241565#FFFFFF#000000##FFFFFF
##2415651.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241565;
/* rgb */ color: rgb(36, 21, 101);
/* oklch */ color: oklch(27.8% 0.131 282.4);
Tailwind
colors: {
  custom: {
    50: '#685492',
    500: '#241565',
    950: '#000000',
  },
}
SCSS
$custom: #241565;
$custom-light: #685492;
$custom-dark: #000000;
JSON
{
  "hex": "#241565",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 251.25,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27845,
    "c": 0.13071,
    "h": 282.4
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#241565
secondary
#8A9C3A
accent
#E93FC9
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #241565

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

Preview Lab → · Contrast checker → · Palette generator →

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