#250E51#250E51

#250E51 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.112 H 291.7°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#250E51
RGBrgb(37, 14, 81)
HSLhsl(261, 71%, 19%)
HSVhsv(261, 83%, 32%)
CMYKcmyk(54.3%, 82.7%, 0%, 68.2%)
CIE-LABlab(11.29, 29.18, -36.40)
CIE-LCHlch(11.29, 46.65, 308.71°)
OKLaboklab(24.83% 0.0415 -0.1045)
OKLCHoklch(24.83% 0.112 291.7)
XYZxyz(2.4048, 1.3014, 7.9075)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250E51 #3A510E
analogous
#0E1851 #250E51 #460E51
triadic
#250E51 #51250E #0E5125
tetradic
#250E51 #510E18 #3A510E #0E5146
square
#250E51 #510E18 #3A510E #0E5146
split-complementary
#250E51 #51460E #18510E
monochromatic
#0C051A #0D051D #250E51 #3D1785 #5520B9

Accessibility & contrast

On white

16.66
#250E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#250E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250E51
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250E51#FFFFFF#000000##FFFFFF
##250E511.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F53
Deuteranopia (green-blind)
#001D50
Tritanopia (blue-blind)
#16202F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #250e51;
/* rgb */ color: rgb(37, 14, 81);
/* oklch */ color: oklch(24.8% 0.112 291.7);
Tailwind
colors: {
  custom: {
    50: '#654f83',
    500: '#250e51',
    950: '#000000',
  },
}
SCSS
$custom: #250e51;
$custom-light: #654f83;
$custom-dark: #000000;
JSON
{
  "hex": "#250e51",
  "rgb": {
    "r": 37,
    "g": 14,
    "b": 81
  },
  "hsl": {
    "h": 260.597,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24835,
    "c": 0.11245,
    "h": 291.7
  },
  "luminance": 0.01301
}

Semantic roles & 50–950 ramp

primary
#250E51
secondary
#6C8C2F
accent
#ED3AB0
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #250E51

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

Preview Lab → · Contrast checker → · Palette generator →

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