#250F76#250F76

#250F76 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.2% C 0.157 H 280.1°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#250F76
RGBrgb(37, 15, 118)
HSLhsl(253, 77%, 26%)
HSVhsv(253, 87%, 46%)
CMYKcmyk(68.6%, 87.3%, 0%, 53.7%)
CIE-LABlab(15.71, 40.13, -53.67)
CIE-LCHlch(15.71, 67.01, 306.79°)
OKLaboklab(29.17% 0.0277 -0.1549)
OKLCHoklch(29.17% 0.157 280.1)
XYZxyz(4.2027, 2.0426, 17.3088)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F76 #60760F
analogous
#0F2C76 #250F76 #580F76
triadic
#250F76 #76250F #0F7625
tetradic
#250F76 #760F2C #60760F #0F7658
square
#250F76 #760F2C #60760F #0F7658
split-complementary
#250F76 #76580F #2C760F
monochromatic
#09031B #140840 #250F76 #3616AC #471DE2

Accessibility & contrast

On white

14.91
#250F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#250F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F76
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F76#FFFFFF#000000##FFFFFF
##250F761.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002374
Tritanopia (blue-blind)
#003044
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #250f76;
/* rgb */ color: rgb(37, 15, 118);
/* oklch */ color: oklch(29.2% 0.157 280.1);
Tailwind
colors: {
  custom: {
    50: '#6d539f',
    500: '#250f76',
    950: '#000000',
  },
}
SCSS
$custom: #250f76;
$custom-light: #6d539f;
$custom-dark: #000000;
JSON
{
  "hex": "#250f76",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 252.816,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29165,
    "c": 0.15738,
    "h": 280.1
  },
  "luminance": 0.02043
}

Semantic roles & 50–950 ramp

primary
#250F76
secondary
#93AD33
accent
#F434CB
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08020F
muted
#7B787E

Preview Lab

Preview with #250F76

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

Preview Lab → · Contrast checker → · Palette generator →

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