#250F5F#250F5F

#250F5F is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.129 H 286.2°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#250F5F
RGBrgb(37, 15, 95)
HSLhsl(257, 73%, 22%)
HSVhsv(257, 84%, 37%)
CMYKcmyk(61.1%, 84.2%, 0%, 62.7%)
CIE-LABlab(12.99, 33.03, -43.07)
CIE-LCHlch(12.99, 54.28, 307.48°)
OKLaboklab(26.49% 0.036 -0.124)
OKLCHoklch(26.49% 0.129 286.2)
XYZxyz(2.9987, 1.5610, 10.9675)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F5F #495F0F
analogous
#0F215F #250F5F #4D0F5F
triadic
#250F5F #5F250F #0F5F25
tetradic
#250F5F #5F0F21 #495F0F #0F5F4D
square
#250F5F #5F0F21 #495F0F #0F5F4D
split-complementary
#250F5F #5F4D0F #215F0F
monochromatic
#0A041A #10072A #250F5F #3A1794 #4E20C9

Accessibility & contrast

On white

16.00
#250F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250F5F
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F5F#FFFFFF#000000##FFFFFF
##250F5F1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#082737
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #250f5f;
/* rgb */ color: rgb(37, 15, 95);
/* oklch */ color: oklch(26.5% 0.129 286.2);
Tailwind
colors: {
  custom: {
    50: '#68518d',
    500: '#250f5f',
    950: '#000000',
  },
}
SCSS
$custom: #250f5f;
$custom-light: #68518d;
$custom-dark: #000000;
JSON
{
  "hex": "#250f5f",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 256.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26487,
    "c": 0.12918,
    "h": 286.2
  },
  "luminance": 0.01561
}

Semantic roles & 50–950 ramp

primary
#250F5F
secondary
#7C9832
accent
#EF38BD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #250F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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