#250A42#250A42

#250A42 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.098 H 300.5°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#250A42
RGBrgb(37, 10, 66)
HSLhsl(269, 74%, 15%)
HSVhsv(269, 85%, 26%)
CMYKcmyk(43.9%, 84.8%, 0%, 74.1%)
CIE-LABlab(9.02, 26.75, -29.65)
CIE-LCHlch(9.02, 39.94, 312.06°)
OKLaboklab(22.78% 0.05 -0.0847)
OKLCHoklch(22.78% 0.098 300.5)
XYZxyz(1.8546, 1.0037, 5.2492)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250A42 #27420A
analogous
#0A0B42 #250A42 #410A42
triadic
#250A42 #42250A #0A4225
tetradic
#250A42 #420A0B #27420A #0A4241
square
#250A42 #420A0B #27420A #0A4241
split-complementary
#250A42 #42410A #0B420A
monochromatic
#0F041B #0F041B #250A42 #431277 #611AAC

Accessibility & contrast

On white

17.49
#250A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#250A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250A42
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250A42#FFFFFF#000000##FFFFFF
##250A421.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001944
Deuteranopia (green-blind)
#001941
Tritanopia (blue-blind)
#1E1825
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #250a42;
/* rgb */ color: rgb(37, 10, 66);
/* oklch */ color: oklch(22.8% 0.098 300.5);
Tailwind
colors: {
  custom: {
    50: '#634c77',
    500: '#250a42',
    950: '#000000',
  },
}
SCSS
$custom: #250a42;
$custom-light: #634c77;
$custom-dark: #000000;
JSON
{
  "hex": "#250a42",
  "rgb": {
    "r": 37,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 268.929,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22777,
    "c": 0.09832,
    "h": 300.5
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#250A42
secondary
#557F29
accent
#F03797
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #250A42

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

Preview Lab → · Contrast checker → · Palette generator →

#250A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva