#250D58#250D58

#250D58 is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.5% C 0.122 H 289.1°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#250D58
RGBrgb(37, 13, 88)
HSLhsl(259, 74%, 20%)
HSVhsv(259, 85%, 35%)
CMYKcmyk(58%, 85.2%, 0%, 65.5%)
CIE-LABlab(11.86, 31.86, -40.22)
CIE-LCHlch(11.86, 51.31, 308.38°)
OKLaboklab(25.47% 0.04 -0.1157)
OKLCHoklch(25.47% 0.122 289.1)
XYZxyz(2.6678, 1.3856, 9.3575)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250D58 #40580D
analogous
#0D1B58 #250D58 #4B0D58
triadic
#250D58 #58250D #0D5825
tetradic
#250D58 #580D1B #40580D #0D584B
square
#250D58 #580D1B #40580D #0D584B
split-complementary
#250D58 #584B0D #1B580D
monochromatic
#0B041B #0F0523 #250D58 #3B158D #521DC3

Accessibility & contrast

On white

16.44
#250D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250D58
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250D58#FFFFFF#000000##FFFFFF
##250D581.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001D57
Tritanopia (blue-blind)
#112333
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #250d58;
/* rgb */ color: rgb(37, 13, 88);
/* oklch */ color: oklch(25.5% 0.122 289.1);
Tailwind
colors: {
  custom: {
    50: '#674f88',
    500: '#250d58',
    950: '#000000',
  },
}
SCSS
$custom: #250d58;
$custom-light: #674f88;
$custom-dark: #000000;
JSON
{
  "hex": "#250d58",
  "rgb": {
    "r": 37,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 259.2,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25467,
    "c": 0.12242,
    "h": 289.1
  },
  "luminance": 0.01386
}

Semantic roles & 50–950 ramp

primary
#250D58
secondary
#72932E
accent
#F137B5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #250D58

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

Preview Lab → · Contrast checker → · Palette generator →

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