#241556#241556

#241556 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.110 H 286.7°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#241556
RGBrgb(36, 21, 86)
HSLhsl(254, 61%, 21%)
HSVhsv(254, 76%, 34%)
CMYKcmyk(58.1%, 75.6%, 0%, 66.3%)
CIE-LABlab(13.13, 26.54, -36.80)
CIE-LCHlch(13.13, 45.37, 305.80°)
OKLaboklab(26.27% 0.0317 -0.1058)
OKLCHoklch(26.27% 0.11 286.7)
XYZxyz(2.6749, 1.5831, 8.9669)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241556 #475615
analogous
#152656 #241556 #441556
triadic
#241556 #562415 #155624
tetradic
#241556 #561526 #475615 #155644
square
#241556 #561526 #475615 #155644
split-complementary
#241556 #564415 #265615
monochromatic
#0A0619 #0F0925 #241556 #392187 #4D2DB8

Accessibility & contrast

On white

15.95
#241556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#241556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241556
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241556#FFFFFF#000000##FFFFFF
##2415561.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002055
Tritanopia (blue-blind)
#0F2633
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #241556;
/* rgb */ color: rgb(36, 21, 86);
/* oklch */ color: oklch(26.3% 0.110 286.7);
Tailwind
colors: {
  custom: {
    50: '#655486',
    500: '#241556',
    950: '#000000',
  },
}
SCSS
$custom: #241556;
$custom-light: #655486;
$custom-dark: #000000;
JSON
{
  "hex": "#241556",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 253.846,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26267,
    "c": 0.11041,
    "h": 286.7
  },
  "luminance": 0.01583
}

Semantic roles & 50–950 ramp

primary
#241556
secondary
#7A8E39
accent
#E444BF
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #241556

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

Preview Lab → · Contrast checker → · Palette generator →

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