#250F4F#250F4F

#250F4F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.109 H 292.2°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#250F4F
RGBrgb(37, 15, 79)
HSLhsl(261, 68%, 18%)
HSVhsv(261, 81%, 31%)
CMYKcmyk(53.2%, 81%, 0%, 69%)
CIE-LABlab(11.27, 28.00, -35.05)
CIE-LCHlch(11.27, 44.86, 308.63°)
OKLaboklab(24.76% 0.0411 -0.1006)
OKLCHoklch(24.76% 0.109 292.2)
XYZxyz(2.3447, 1.2994, 7.5229)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F4F #394F0F
analogous
#0F194F #250F4F #450F4F
triadic
#250F4F #4F250F #0F4F25
tetradic
#250F4F #4F0F19 #394F0F #0F4F45
square
#250F4F #4F0F19 #394F0F #0F4F45
split-complementary
#250F4F #4F450F #194F0F
monochromatic
#0C051A #0D051C #250F4F #3D1982 #5523B6

Accessibility & contrast

On white

16.67
#250F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#250F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F4F
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F4F#FFFFFF#000000##FFFFFF
##250F4F1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#18202E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #250f4f;
/* rgb */ color: rgb(37, 15, 79);
/* oklch */ color: oklch(24.8% 0.109 292.2);
Tailwind
colors: {
  custom: {
    50: '#655081',
    500: '#250f4f',
    950: '#000000',
  },
}
SCSS
$custom: #250f4f;
$custom-light: #655081;
$custom-dark: #000000;
JSON
{
  "hex": "#250f4f",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 260.625,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24762,
    "c": 0.10864,
    "h": 292.2
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#250F4F
secondary
#6B8931
accent
#EB3DAF
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #250F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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