#240131#240131

#240131 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.6% C 0.094 H 314.9°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#240131
RGBrgb(36, 1, 49)
HSLhsl(284, 96%, 10%)
HSVhsv(284, 98%, 19%)
CMYKcmyk(26.5%, 98%, 0%, 80.8%)
CIE-LABlab(5.59, 26.30, -22.89)
CIE-LCHlch(5.59, 34.87, 318.96°)
OKLaboklab(19.62% 0.0661 -0.0662)
OKLCHoklch(19.62% 0.094 314.9)
XYZxyz(1.2927, 0.6186, 2.9564)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240131 #0E3101
analogous
#0C0131 #240131 #310126
triadic
#240131 #312401 #013124
tetradic
#240131 #310C01 #0E3101 #012631
square
#240131 #310C01 #0E3101 #012631
split-complementary
#240131 #263101 #01310C
monochromatic
#16011E #16011E #240131 #50026D #7C03A9

Accessibility & contrast

On white

18.69
#240131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#240131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240131
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240131#FFFFFF#000000##FFFFFF
##2401311.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001032
Deuteranopia (green-blind)
#001330
Tritanopia (blue-blind)
#230B19
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #240131;
/* rgb */ color: rgb(36, 1, 49);
/* oklch */ color: oklch(19.6% 0.094 314.9);
Tailwind
colors: {
  custom: {
    50: '#614669',
    500: '#240131',
    950: '#000000',
  },
}
SCSS
$custom: #240131;
$custom-light: #614669;
$custom-dark: #000000;
JSON
{
  "hex": "#240131",
  "rgb": {
    "r": 36,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 283.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19623,
    "c": 0.09355,
    "h": 314.9
  },
  "luminance": 0.00619
}

Semantic roles & 50–950 ramp

primary
#240131
secondary
#317717
accent
#FF2963
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #240131

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

Preview Lab → · Contrast checker → · Palette generator →

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