#240230#240230

#240230 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.7% C 0.090 H 315.6°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#240230
RGBrgb(36, 2, 48)
HSLhsl(284, 92%, 10%)
HSVhsv(284, 96%, 19%)
CMYKcmyk(25%, 95.8%, 0%, 81.2%)
CIE-LABlab(5.71, 25.47, -21.96)
CIE-LCHlch(5.71, 33.63, 319.24°)
OKLaboklab(19.7% 0.0646 -0.0633)
OKLCHoklch(19.7% 0.09 315.6)
XYZxyz(1.2827, 0.6319, 2.8501)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240230 #0E3002
analogous
#0D0230 #240230 #300225
triadic
#240230 #302402 #023024
tetradic
#240230 #300D02 #0E3002 #022530
square
#240230 #300D02 #0E3002 #022530
split-complementary
#240230 #253002 #02300D
monochromatic
#16011D #16011D #240230 #50046B #7C07A6

Accessibility & contrast

On white

18.64
#240230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#240230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240230
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240230#FFFFFF#000000##FFFFFF
##2402301.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001131
Deuteranopia (green-blind)
#01132F
Tritanopia (blue-blind)
#230C19
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #240230;
/* rgb */ color: rgb(36, 2, 48);
/* oklch */ color: oklch(19.7% 0.090 315.6);
Tailwind
colors: {
  custom: {
    50: '#614768',
    500: '#240230',
    950: '#000000',
  },
}
SCSS
$custom: #240230;
$custom-light: #614768;
$custom-dark: #000000;
JSON
{
  "hex": "#240230",
  "rgb": {
    "r": 36,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 284.348,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19699,
    "c": 0.09046,
    "h": 315.6
  },
  "luminance": 0.00632
}

Semantic roles & 50–950 ramp

primary
#240230
secondary
#317519
accent
#FF2961
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #240230

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

Preview Lab → · Contrast checker → · Palette generator →

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