#250F5E#250F5E

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

Color values

HEX#250F5E
RGBrgb(37, 15, 94)
HSLhsl(257, 72%, 21%)
HSVhsv(257, 84%, 37%)
CMYKcmyk(60.6%, 84%, 0%, 63.1%)
CIE-LABlab(12.88, 32.72, -42.59)
CIE-LCHlch(12.88, 53.71, 307.53°)
OKLaboklab(26.38% 0.0364 -0.1226)
OKLCHoklch(26.38% 0.128 286.5)
XYZxyz(2.9535, 1.5429, 10.7297)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F5E #485E0F
analogous
#0F215E #250F5E #4D0F5E
triadic
#250F5E #5E250F #0F5E25
tetradic
#250F5E #5E0F21 #485E0F #0F5E4D
square
#250F5E #5E0F21 #485E0F #0F5E4D
split-complementary
#250F5E #5E4D0F #215E0F
monochromatic
#0A041A #100729 #250F5E #3A1793 #4F20C8

Accessibility & contrast

On white

16.05
#250F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250F5E
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F5E#FFFFFF#000000##FFFFFF
##250F5E1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#092636
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #250f5e;
/* rgb */ color: rgb(37, 15, 94);
/* oklch */ color: oklch(26.4% 0.128 286.5);
Tailwind
colors: {
  custom: {
    50: '#68518d',
    500: '#250f5e',
    950: '#000000',
  },
}
SCSS
$custom: #250f5e;
$custom-light: #68518d;
$custom-dark: #000000;
JSON
{
  "hex": "#250f5e",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 256.709,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26375,
    "c": 0.12791,
    "h": 286.5
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #250F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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