#250F5A#250F5A

#250F5A is a dark, vivid violet. Relative luminance 0.015; OKLCH L 25.9% C 0.123 H 287.9°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#250F5A
RGBrgb(37, 15, 90)
HSLhsl(258, 71%, 21%)
HSVhsv(258, 83%, 35%)
CMYKcmyk(58.9%, 83.3%, 0%, 64.7%)
CIE-LABlab(12.44, 31.46, -40.63)
CIE-LCHlch(12.44, 51.39, 307.75°)
OKLaboklab(25.93% 0.0377 -0.1169)
OKLCHoklch(25.93% 0.123 287.9)
XYZxyz(2.7787, 1.4730, 9.8088)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F5A #445A0F
analogous
#0F1E5A #250F5A #4A0F5A
triadic
#250F5A #5A250F #0F5A25
tetradic
#250F5A #5A0F1E #445A0F #0F5A4A
square
#250F5A #5A0F1E #445A0F #0F5A4A
split-complementary
#250F5A #5A4A0F #1E5A0F
monochromatic
#0B041A #0F0626 #250F5A #3B188E #5020C3

Accessibility & contrast

On white

16.22
#250F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250F5A
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F5A#FFFFFF#000000##FFFFFF
##250F5A1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225C
Deuteranopia (green-blind)
#001E59
Tritanopia (blue-blind)
#0F2534
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #250f5a;
/* rgb */ color: rgb(37, 15, 90);
/* oklch */ color: oklch(25.9% 0.123 287.9);
Tailwind
colors: {
  custom: {
    50: '#675089',
    500: '#250f5a',
    950: '#000000',
  },
}
SCSS
$custom: #250f5a;
$custom-light: #675089;
$custom-dark: #000000;
JSON
{
  "hex": "#250f5a",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 257.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25933,
    "c": 0.12285,
    "h": 287.9
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#250F5A
secondary
#779431
accent
#EE3AB9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #250F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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