#250D4F#250D4F

#250D4F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.5% C 0.111 H 292.8°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#250D4F
RGBrgb(37, 13, 79)
HSLhsl(262, 72%, 18%)
HSVhsv(262, 84%, 31%)
CMYKcmyk(53.2%, 83.5%, 0%, 69%)
CIE-LABlab(10.89, 29.09, -35.67)
CIE-LCHlch(10.89, 46.03, 309.20°)
OKLaboklab(24.49% 0.043 -0.1024)
OKLCHoklch(24.49% 0.111 292.8)
XYZxyz(2.3178, 1.2456, 7.5139)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250D4F #374F0D
analogous
#0D164F #250D4F #460D4F
triadic
#250D4F #4F250D #0D4F25
tetradic
#250D4F #4F0D16 #374F0D #0D4F46
square
#250D4F #4F0D16 #374F0D #0D4F46
split-complementary
#250D4F #4F460D #164F0D
monochromatic
#0C041A #0C041A #250D4F #3E1684 #561EB8

Accessibility & contrast

On white

16.81
#250D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#250D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250D4F
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250D4F#FFFFFF#000000##FFFFFF
##250D4F1.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E51
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#181F2D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #250d4f;
/* rgb */ color: rgb(37, 13, 79);
/* oklch */ color: oklch(24.5% 0.111 292.8);
Tailwind
colors: {
  custom: {
    50: '#654f81',
    500: '#250d4f',
    950: '#000000',
  },
}
SCSS
$custom: #250d4f;
$custom-light: #654f81;
$custom-dark: #000000;
JSON
{
  "hex": "#250d4f",
  "rgb": {
    "r": 37,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 261.818,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24494,
    "c": 0.11106,
    "h": 292.8
  },
  "luminance": 0.01246
}

Semantic roles & 50–950 ramp

primary
#250D4F
secondary
#688A2E
accent
#EE39AD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #250D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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