#250E5F#250E5F

#250E5F is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.4% C 0.130 H 286.4°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#250E5F
RGBrgb(37, 14, 95)
HSLhsl(257, 74%, 21%)
HSVhsv(257, 85%, 37%)
CMYKcmyk(61.1%, 85.3%, 0%, 62.7%)
CIE-LABlab(12.82, 33.53, -43.36)
CIE-LCHlch(12.82, 54.81, 307.72°)
OKLaboklab(26.37% 0.0367 -0.1249)
OKLCHoklch(26.37% 0.13 286.4)
XYZxyz(2.9849, 1.5334, 10.9630)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250E5F #485F0E
analogous
#0E205F #250E5F #4E0E5F
triadic
#250E5F #5F250E #0E5F25
tetradic
#250E5F #5F0E20 #485F0E #0E5F4E
square
#250E5F #5F0E20 #485F0E #0E5F4E
split-complementary
#250E5F #5F4E0E #205F0E
monochromatic
#0A041B #10062A #250E5F #3A1694 #4F1ECA

Accessibility & contrast

On white

16.07
#250E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250E5F
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250E5F#FFFFFF#000000##FFFFFF
##250E5F1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002361
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#082637
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #250e5f;
/* rgb */ color: rgb(37, 14, 95);
/* oklch */ color: oklch(26.4% 0.130 286.4);
Tailwind
colors: {
  custom: {
    50: '#68508d',
    500: '#250e5f',
    950: '#000000',
  },
}
SCSS
$custom: #250e5f;
$custom-light: #68508d;
$custom-dark: #000000;
JSON
{
  "hex": "#250e5f",
  "rgb": {
    "r": 37,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 257.037,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26368,
    "c": 0.13015,
    "h": 286.4
  },
  "luminance": 0.01534
}

Semantic roles & 50–950 ramp

primary
#250E5F
secondary
#7B9930
accent
#F137BC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #250E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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