#250F3F#250F3F

#250F3F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.087 H 300.8°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#250F3F
RGBrgb(37, 15, 63)
HSLhsl(268, 62%, 15%)
HSVhsv(268, 76%, 25%)
CMYKcmyk(41.3%, 76.2%, 0%, 75.3%)
CIE-LABlab(9.75, 23.04, -26.34)
CIE-LCHlch(9.75, 34.99, 311.18°)
OKLaboklab(23.21% 0.0447 -0.075)
OKLCHoklch(23.21% 0.087 300.8)
XYZxyz(1.8308, 1.0938, 4.8163)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F3F #293F0F
analogous
#0F113F #250F3F #3D0F3F
triadic
#250F3F #3F250F #0F3F25
tetradic
#250F3F #3F0F11 #293F0F #0F3F3D
square
#250F3F #3F0F11 #293F0F #0F3F3D
split-complementary
#250F3F #3F3D0F #113F0F
monochromatic
#0F0619 #0F0619 #250F3F #421B70 #5F27A2

Accessibility & contrast

On white

17.23
#250F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#250F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F3F
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F3F#FFFFFF#000000##FFFFFF
##250F3F1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#1F1A25
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #250f3f;
/* rgb */ color: rgb(37, 15, 63);
/* oklch */ color: oklch(23.2% 0.087 300.8);
Tailwind
colors: {
  custom: {
    50: '#624f74',
    500: '#250f3f',
    950: '#000000',
  },
}
SCSS
$custom: #250f3f;
$custom-light: #624f74;
$custom-dark: #000000;
JSON
{
  "hex": "#250f3f",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 267.5,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23207,
    "c": 0.08726,
    "h": 300.8
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#250F3F
secondary
#587930
accent
#E5439B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #250F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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