#250021#250021

#250021 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.2% C 0.082 H 333.0°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#250021
RGBrgb(37, 0, 33)
HSLhsl(306, 100%, 7%)
HSVhsv(306, 100%, 15%)
CMYKcmyk(0%, 100%, 10.8%, 85.5%)
CIE-LABlab(4.55, 22.36, -12.32)
CIE-LCHlch(4.55, 25.53, 331.15°)
OKLaboklab(18.24% 0.073 -0.0371)
OKLCHoklch(18.24% 0.082 333)
XYZxyz(1.0375, 0.5032, 1.4810)
Luminance0.0050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250021 #002504
analogous
#170025 #250021 #25000F
triadic
#250021 #212500 #002125
tetradic
#250021 #251700 #002504 #000F25
square
#250021 #251700 #002504 #000F25
split-complementary
#250021 #0F2500 #002517
monochromatic
#1F001B #1F001B #250021 #620058 #9F008E

Accessibility & contrast

On white

19.08
#250021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#250021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250021
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250021#FFFFFF#000000##FFFFFF
##2500211.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C22
Deuteranopia (green-blind)
#0B1220
Tritanopia (blue-blind)
#27030F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #250021;
/* rgb */ color: rgb(37, 0, 33);
/* oklch */ color: oklch(18.2% 0.082 333.0);
Tailwind
colors: {
  custom: {
    50: '#60465c',
    500: '#250021',
    950: '#000000',
  },
}
SCSS
$custom: #250021;
$custom-light: #60465c;
$custom-dark: #000000;
JSON
{
  "hex": "#250021",
  "rgb": {
    "r": 37,
    "g": 0,
    "b": 33
  },
  "hsl": {
    "h": 306.486,
    "s": 100,
    "l": 7.255
  },
  "oklch": {
    "l": 0.18243,
    "c": 0.0819,
    "h": 333
  },
  "luminance": 0.00503
}

Semantic roles & 50–950 ramp

primary
#250021
secondary
#136D1D
accent
#FF4029
background
#F5F3F5
surface
#EAE5E9
border
#C6C1C5
text
#050004
muted
#797679

Preview Lab

Preview with #250021

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

Preview Lab → · Contrast checker → · Palette generator →

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