#250B56#250B56

#250B56 is a dark, vivid violet. Relative luminance 0.013; OKLCH L 25.0% C 0.122 H 290.3°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#250B56
RGBrgb(37, 11, 86)
HSLhsl(261, 77%, 19%)
HSVhsv(261, 87%, 34%)
CMYKcmyk(57%, 87.2%, 0%, 66.3%)
CIE-LABlab(11.31, 32.22, -39.78)
CIE-LCHlch(11.31, 51.19, 309.00°)
OKLaboklab(25.01% 0.0422 -0.1144)
OKLCHoklch(25.01% 0.122 290.3)
XYZxyz(2.5619, 1.3044, 8.9191)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250B56 #3C560B
analogous
#0B1756 #250B56 #4B0B56
triadic
#250B56 #56250B #0B5625
tetradic
#250B56 #560B17 #3C560B #0B564B
square
#250B56 #560B17 #3C560B #0B564B
split-complementary
#250B56 #564B0B #17560B
monochromatic
#0C031B #0E0420 #250B56 #3C128C #5419C3

Accessibility & contrast

On white

16.65
#250B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#250B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250B56
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250B56#FFFFFF#000000##FFFFFF
##250B561.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#132131
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #250b56;
/* rgb */ color: rgb(37, 11, 86);
/* oklch */ color: oklch(25.0% 0.122 290.3);
Tailwind
colors: {
  custom: {
    50: '#674e86',
    500: '#250b56',
    950: '#000000',
  },
}
SCSS
$custom: #250b56;
$custom-light: #674e86;
$custom-dark: #000000;
JSON
{
  "hex": "#250b56",
  "rgb": {
    "r": 37,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 260.8,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25015,
    "c": 0.12193,
    "h": 290.3
  },
  "luminance": 0.01305
}

Semantic roles & 50–950 ramp

primary
#250B56
secondary
#6E912B
accent
#F434B1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #250B56

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

Preview Lab → · Contrast checker → · Palette generator →

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