#250F52#250F52

#250F52 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.1% C 0.113 H 291.0°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#250F52
RGBrgb(37, 15, 82)
HSLhsl(260, 69%, 19%)
HSVhsv(260, 82%, 32%)
CMYKcmyk(54.9%, 81.7%, 0%, 67.8%)
CIE-LABlab(11.58, 28.94, -36.60)
CIE-LCHlch(11.58, 46.66, 308.34°)
OKLaboklab(25.07% 0.0403 -0.1051)
OKLCHoklch(25.07% 0.113 291)
XYZxyz(2.4563, 1.3441, 8.1110)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F52 #3C520F
analogous
#0F1B52 #250F52 #470F52
triadic
#250F52 #52250F #0F5225
tetradic
#250F52 #520F1B #3C520F #0F5247
square
#250F52 #520F1B #3C520F #0F5247
split-complementary
#250F52 #52470F #1B520F
monochromatic
#0C051A #0E061E #250F52 #3C1886 #5422B9

Accessibility & contrast

On white

16.55
#250F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250F52
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F52#FFFFFF#000000##FFFFFF
##250F521.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002054
Deuteranopia (green-blind)
#001D51
Tritanopia (blue-blind)
#162130
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #250f52;
/* rgb */ color: rgb(37, 15, 82);
/* oklch */ color: oklch(25.1% 0.113 291.0);
Tailwind
colors: {
  custom: {
    50: '#655083',
    500: '#250f52',
    950: '#000000',
  },
}
SCSS
$custom: #250f52;
$custom-light: #655083;
$custom-dark: #000000;
JSON
{
  "hex": "#250f52",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 259.701,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25074,
    "c": 0.11255,
    "h": 291
  },
  "luminance": 0.01344
}

Semantic roles & 50–950 ramp

primary
#250F52
secondary
#6E8C31
accent
#EC3CB2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #250F52

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

Preview Lab → · Contrast checker → · Palette generator →

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