#250F5D#250F5D

#250F5D is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.3% C 0.127 H 286.9°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#250F5D
RGBrgb(37, 15, 93)
HSLhsl(257, 72%, 21%)
HSVhsv(257, 84%, 36%)
CMYKcmyk(60.2%, 83.9%, 0%, 63.5%)
CIE-LABlab(12.77, 32.41, -42.10)
CIE-LCHlch(12.77, 53.13, 307.59°)
OKLaboklab(26.26% 0.0367 -0.1212)
OKLCHoklch(26.26% 0.127 286.9)
XYZxyz(2.9090, 1.5251, 10.4949)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F5D #475D0F
analogous
#0F205D #250F5D #4C0F5D
triadic
#250F5D #5D250F #0F5D25
tetradic
#250F5D #5D0F20 #475D0F #0F5D4C
square
#250F5D #5D0F20 #475D0F #0F5D4C
split-complementary
#250F5D #5D4C0F #205D0F
monochromatic
#0A041A #100628 #250F5D #3A1792 #4F20C6

Accessibility & contrast

On white

16.09
#250F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#250F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F5D
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F5D#FFFFFF#000000##FFFFFF
##250F5D1.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#0B2636
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #250f5d;
/* rgb */ color: rgb(37, 15, 93);
/* oklch */ color: oklch(26.3% 0.127 286.9);
Tailwind
colors: {
  custom: {
    50: '#68518c',
    500: '#250f5d',
    950: '#000000',
  },
}
SCSS
$custom: #250f5d;
$custom-light: #68518c;
$custom-dark: #000000;
JSON
{
  "hex": "#250f5d",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 256.923,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26264,
    "c": 0.12665,
    "h": 286.9
  },
  "luminance": 0.01525
}

Semantic roles & 50–950 ramp

primary
#250F5D
secondary
#7A9631
accent
#EF39BC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #250F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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