#250F57#250F57

#250F57 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.119 H 289.0°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#250F57
RGBrgb(37, 15, 87)
HSLhsl(258, 71%, 20%)
HSVhsv(258, 83%, 34%)
CMYKcmyk(57.5%, 82.8%, 0%, 65.9%)
CIE-LABlab(12.11, 30.52, -39.14)
CIE-LCHlch(12.11, 49.63, 307.95°)
OKLaboklab(25.61% 0.0387 -0.1125)
OKLCHoklch(25.61% 0.119 289)
XYZxyz(2.6536, 1.4230, 9.1498)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F57 #41570F
analogous
#0F1D57 #250F57 #490F57
triadic
#250F57 #57250F #0F5725
tetradic
#250F57 #570F1D #41570F #0F5749
square
#250F57 #570F1D #41570F #0F5749
split-complementary
#250F57 #57490F #1D570F
monochromatic
#0B051A #0F0623 #250F57 #3B188B #5121BF

Accessibility & contrast

On white

16.35
#250F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#250F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F57
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F57#FFFFFF#000000##FFFFFF
##250F571.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002159
Deuteranopia (green-blind)
#001E56
Tritanopia (blue-blind)
#112332
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #250f57;
/* rgb */ color: rgb(37, 15, 87);
/* oklch */ color: oklch(25.6% 0.119 289.0);
Tailwind
colors: {
  custom: {
    50: '#665087',
    500: '#250f57',
    950: '#000000',
  },
}
SCSS
$custom: #250f57;
$custom-light: #665087;
$custom-dark: #000000;
JSON
{
  "hex": "#250f57",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 258.333,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.25607,
    "c": 0.11901,
    "h": 289
  },
  "luminance": 0.01423
}

Semantic roles & 50–950 ramp

primary
#250F57
secondary
#749131
accent
#ED3AB7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #250F57

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

Preview Lab → · Contrast checker → · Palette generator →

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