#250F5C#250F5C

#250F5C is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.2% C 0.125 H 287.2°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#250F5C
RGBrgb(37, 15, 92)
HSLhsl(257, 72%, 21%)
HSVhsv(257, 84%, 36%)
CMYKcmyk(59.8%, 83.7%, 0%, 63.9%)
CIE-LABlab(12.66, 32.09, -41.61)
CIE-LCHlch(12.66, 52.55, 307.64°)
OKLaboklab(26.15% 0.0371 -0.1198)
OKLCHoklch(26.15% 0.125 287.2)
XYZxyz(2.8650, 1.5075, 10.2632)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F5C #465C0F
analogous
#0F1F5C #250F5C #4B0F5C
triadic
#250F5C #5C250F #0F5C25
tetradic
#250F5C #5C0F1F #465C0F #0F5C4B
square
#250F5C #5C0F1F #465C0F #0F5C4B
split-complementary
#250F5C #5C4B0F #1F5C0F
monochromatic
#0B041A #100627 #250F5C #3A1891 #4F20C5

Accessibility & contrast

On white

16.13
#250F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#250F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F5C
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F5C#FFFFFF#000000##FFFFFF
##250F5C1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#001F5B
Tritanopia (blue-blind)
#0C2535
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #250f5c;
/* rgb */ color: rgb(37, 15, 92);
/* oklch */ color: oklch(26.2% 0.125 287.2);
Tailwind
colors: {
  custom: {
    50: '#67508b',
    500: '#250f5c',
    950: '#000000',
  },
}
SCSS
$custom: #250f5c;
$custom-light: #67508b;
$custom-dark: #000000;
JSON
{
  "hex": "#250f5c",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 257.143,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26153,
    "c": 0.12539,
    "h": 287.2
  },
  "luminance": 0.01508
}

Semantic roles & 50–950 ramp

primary
#250F5C
secondary
#799531
accent
#EF39BB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #250F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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