#241555#241555

#241555 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.109 H 287.0°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#241555
RGBrgb(36, 21, 85)
HSLhsl(254, 60%, 21%)
HSVhsv(254, 75%, 33%)
CMYKcmyk(57.6%, 75.3%, 0%, 66.7%)
CIE-LABlab(13.03, 26.20, -36.28)
CIE-LCHlch(13.03, 44.75, 305.84°)
OKLaboklab(26.17% 0.0319 -0.1042)
OKLCHoklch(26.17% 0.109 287)
XYZxyz(2.6349, 1.5671, 8.7562)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241555 #465515
analogous
#152655 #241555 #441555
triadic
#241555 #552415 #155524
tetradic
#241555 #551526 #465515 #155544
square
#241555 #551526 #465515 #155544
split-complementary
#241555 #554415 #265515
monochromatic
#0A0619 #0F0924 #241555 #392186 #4E2DB7

Accessibility & contrast

On white

15.99
#241555 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#241555 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241555
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241555#FFFFFF#000000##FFFFFF
##2415551.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002357
Deuteranopia (green-blind)
#002054
Tritanopia (blue-blind)
#102633
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #241555;
/* rgb */ color: rgb(36, 21, 85);
/* oklch */ color: oklch(26.2% 0.109 287.0);
Tailwind
colors: {
  custom: {
    50: '#655486',
    500: '#241555',
    950: '#000000',
  },
}
SCSS
$custom: #241555;
$custom-light: #655486;
$custom-dark: #000000;
JSON
{
  "hex": "#241555",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 85
  },
  "hsl": {
    "h": 254.063,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26166,
    "c": 0.10901,
    "h": 287
  },
  "luminance": 0.01567
}

Semantic roles & 50–950 ramp

primary
#241555
secondary
#798D39
accent
#E444BE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #241555

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

Preview Lab → · Contrast checker → · Palette generator →

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