#250F58#250F58

#250F58 is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.7% C 0.120 H 288.6°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#250F58
RGBrgb(37, 15, 88)
HSLhsl(258, 71%, 20%)
HSVhsv(258, 83%, 35%)
CMYKcmyk(58%, 83%, 0%, 65.5%)
CIE-LABlab(12.22, 30.83, -39.64)
CIE-LCHlch(12.22, 50.22, 307.88°)
OKLaboklab(25.72% 0.0384 -0.114)
OKLCHoklch(25.72% 0.12 288.6)
XYZxyz(2.6947, 1.4394, 9.3665)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F58 #42580F
analogous
#0F1E58 #250F58 #490F58
triadic
#250F58 #58250F #0F5825
tetradic
#250F58 #580F1E #42580F #0F5849
square
#250F58 #580F1E #42580F #0F5849
split-complementary
#250F58 #58490F #1E580F
monochromatic
#0B041A #0F0624 #250F58 #3B188C #5121C1

Accessibility & contrast

On white

16.30
#250F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#250F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F58
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F58#FFFFFF#000000##FFFFFF
##250F581.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001E57
Tritanopia (blue-blind)
#112433
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #250f58;
/* rgb */ color: rgb(37, 15, 88);
/* oklch */ color: oklch(25.7% 0.120 288.6);
Tailwind
colors: {
  custom: {
    50: '#675088',
    500: '#250f58',
    950: '#000000',
  },
}
SCSS
$custom: #250f58;
$custom-light: #675088;
$custom-dark: #000000;
JSON
{
  "hex": "#250f58",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 258.082,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25715,
    "c": 0.1203,
    "h": 288.6
  },
  "luminance": 0.0144
}

Semantic roles & 50–950 ramp

primary
#250F58
secondary
#759231
accent
#EE3AB8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #250F58

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

Preview Lab → · Contrast checker → · Palette generator →

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