#250F54#250F54

#250F54 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.115 H 290.1°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#250F54
RGBrgb(37, 15, 84)
HSLhsl(259, 70%, 19%)
HSVhsv(259, 82%, 33%)
CMYKcmyk(56%, 82.1%, 0%, 67.1%)
CIE-LABlab(11.79, 29.58, -37.62)
CIE-LCHlch(11.79, 47.86, 308.17°)
OKLaboklab(25.29% 0.0397 -0.1081)
OKLCHoklch(25.29% 0.115 290.1)
XYZxyz(2.5335, 1.3749, 8.5177)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F54 #3E540F
analogous
#0F1C54 #250F54 #480F54
triadic
#250F54 #54250F #0F5425
tetradic
#250F54 #540F1C #3E540F #0F5448
square
#250F54 #540F1C #3E540F #0F5448
split-complementary
#250F54 #54480F #1C540F
monochromatic
#0B051A #0E0620 #250F54 #3C1888 #5322BC

Accessibility & contrast

On white

16.47
#250F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#250F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F54
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F54#FFFFFF#000000##FFFFFF
##250F541.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002056
Deuteranopia (green-blind)
#001D53
Tritanopia (blue-blind)
#142231
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #250f54;
/* rgb */ color: rgb(37, 15, 84);
/* oklch */ color: oklch(25.3% 0.115 290.1);
Tailwind
colors: {
  custom: {
    50: '#665085',
    500: '#250f54',
    950: '#000000',
  },
}
SCSS
$custom: #250f54;
$custom-light: #665085;
$custom-dark: #000000;
JSON
{
  "hex": "#250f54",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 259.13,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25285,
    "c": 0.11515,
    "h": 290.1
  },
  "luminance": 0.01375
}

Semantic roles & 50–950 ramp

primary
#250F54
secondary
#708E31
accent
#ED3BB4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #250F54

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

Preview Lab → · Contrast checker → · Palette generator →

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