#250F55#250F55

#250F55 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.116 H 289.7°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#250F55
RGBrgb(37, 15, 85)
HSLhsl(259, 70%, 20%)
HSVhsv(259, 82%, 33%)
CMYKcmyk(56.5%, 82.4%, 0%, 66.7%)
CIE-LABlab(11.90, 29.89, -38.13)
CIE-LCHlch(11.90, 48.45, 308.09°)
OKLaboklab(25.39% 0.0393 -0.1096)
OKLCHoklch(25.39% 0.116 289.7)
XYZxyz(2.5730, 1.3907, 8.7254)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F55 #3F550F
analogous
#0F1C55 #250F55 #480F55
triadic
#250F55 #55250F #0F5525
tetradic
#250F55 #550F1C #3F550F #0F5548
square
#250F55 #550F1C #3F550F #0F5548
split-complementary
#250F55 #55480F #1C550F
monochromatic
#0B051A #0E0621 #250F55 #3C1889 #5221BD

Accessibility & contrast

On white

16.43
#250F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#250F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F55
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F55#FFFFFF#000000##FFFFFF
##250F551.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001E54
Tritanopia (blue-blind)
#132331
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #250f55;
/* rgb */ color: rgb(37, 15, 85);
/* oklch */ color: oklch(25.4% 0.116 289.7);
Tailwind
colors: {
  custom: {
    50: '#665086',
    500: '#250f55',
    950: '#000000',
  },
}
SCSS
$custom: #250f55;
$custom-light: #665086;
$custom-dark: #000000;
JSON
{
  "hex": "#250f55",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 258.857,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25392,
    "c": 0.11644,
    "h": 289.7
  },
  "luminance": 0.01391
}

Semantic roles & 50–950 ramp

primary
#250F55
secondary
#718F31
accent
#ED3BB5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #250F55

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

Preview Lab → · Contrast checker → · Palette generator →

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