#240830#240830

#240830 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.7% C 0.079 H 313.9°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#240830
RGBrgb(36, 8, 48)
HSLhsl(282, 71%, 11%)
HSVhsv(282, 83%, 19%)
CMYKcmyk(25%, 83.3%, 0%, 81.2%)
CIE-LABlab(6.88, 22.38, -20.08)
CIE-LCHlch(6.88, 30.07, 318.11°)
OKLaboklab(20.67% 0.0546 -0.0569)
OKLCHoklch(20.67% 0.079 313.9)
XYZxyz(1.3478, 0.7622, 2.8718)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240830 #143008
analogous
#100830 #240830 #300828
triadic
#240830 #302408 #083024
tetradic
#240830 #301008 #143008 #082830
square
#240830 #301008 #143008 #082830
split-complementary
#240830 #283008 #083010
monochromatic
#14041A #14041A #240830 #4B1164 #731999

Accessibility & contrast

On white

18.22
#240830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#240830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240830
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240830#FFFFFF#000000##FFFFFF
##2408301.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001431
Deuteranopia (green-blind)
#06162F
Tritanopia (blue-blind)
#23101B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #240830;
/* rgb */ color: rgb(36, 8, 48);
/* oklch */ color: oklch(20.7% 0.079 313.9);
Tailwind
colors: {
  custom: {
    50: '#604a68',
    500: '#240830',
    950: '#000000',
  },
}
SCSS
$custom: #240830;
$custom-light: #604a68;
$custom-dark: #000000;
JSON
{
  "hex": "#240830",
  "rgb": {
    "r": 36,
    "g": 8,
    "b": 48
  },
  "hsl": {
    "h": 282,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20674,
    "c": 0.07885,
    "h": 313.9
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#240830
secondary
#3B6F25
accent
#EE3A70
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #240830

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

Preview Lab → · Contrast checker → · Palette generator →

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