#240931#240931

#240931 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.078 H 312.6°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#240931
RGBrgb(36, 9, 49)
HSLhsl(281, 69%, 11%)
HSVhsv(281, 82%, 19%)
CMYKcmyk(26.5%, 81.6%, 0%, 80.8%)
CIE-LABlab(7.16, 22.15, -20.38)
CIE-LCHlch(7.16, 30.11, 317.38°)
OKLaboklab(20.91% 0.053 -0.0576)
OKLCHoklch(20.91% 0.078 312.6)
XYZxyz(1.3795, 0.7922, 2.9854)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240931 #163109
analogous
#100931 #240931 #31092A
triadic
#240931 #312409 #093124
tetradic
#240931 #311009 #163109 #092A31
square
#240931 #311009 #163109 #092A31
split-complementary
#240931 #2A3109 #093110
monochromatic
#13051A #13051A #240931 #4A1265 #701C98

Accessibility & contrast

On white

18.13
#240931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#240931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240931
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240931#FFFFFF#000000##FFFFFF
##2409311.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#061630
Tritanopia (blue-blind)
#23111C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #240931;
/* rgb */ color: rgb(36, 9, 49);
/* oklch */ color: oklch(20.9% 0.078 312.6);
Tailwind
colors: {
  custom: {
    50: '#604b69',
    500: '#240931',
    950: '#000000',
  },
}
SCSS
$custom: #240931;
$custom-light: #604b69;
$custom-dark: #000000;
JSON
{
  "hex": "#240931",
  "rgb": {
    "r": 36,
    "g": 9,
    "b": 49
  },
  "hsl": {
    "h": 280.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20912,
    "c": 0.07832,
    "h": 312.6
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#240931
secondary
#3E6F27
accent
#EC3C75
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #240931

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

Preview Lab → · Contrast checker → · Palette generator →

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