#240330#240330

#240330 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.9% C 0.088 H 315.3°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#240330
RGBrgb(36, 3, 48)
HSLhsl(284, 88%, 10%)
HSVhsv(284, 94%, 19%)
CMYKcmyk(25%, 93.8%, 0%, 81.2%)
CIE-LABlab(5.90, 24.96, -21.64)
CIE-LCHlch(5.90, 33.04, 319.07°)
OKLaboklab(19.87% 0.0628 -0.0622)
OKLCHoklch(19.87% 0.088 315.3)
XYZxyz(1.2935, 0.6536, 2.8538)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240330 #0F3003
analogous
#0E0330 #240330 #300325
triadic
#240330 #302403 #033024
tetradic
#240330 #300E03 #0F3003 #032530
square
#240330 #300E03 #0F3003 #032530
split-complementary
#240330 #253003 #03300E
monochromatic
#16021D #16021D #240330 #4F076A #7A0AA3

Accessibility & contrast

On white

18.57
#240330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240330
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240330#FFFFFF#000000##FFFFFF
##2403301.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #240330;
/* rgb */ color: rgb(36, 3, 48);
/* oklch */ color: oklch(19.9% 0.088 315.3);
Tailwind
colors: {
  custom: {
    50: '#614768',
    500: '#240330',
    950: '#000000',
  },
}
SCSS
$custom: #240330;
$custom-light: #614768;
$custom-dark: #000000;
JSON
{
  "hex": "#240330",
  "rgb": {
    "r": 36,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 284,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.19868,
    "c": 0.0884,
    "h": 315.3
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#240330
secondary
#33731B
accent
#FE2962
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #240330

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

Preview Lab → · Contrast checker → · Palette generator →

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