#250C46#250C46

#250C46 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.101 H 297.6°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#250C46
RGBrgb(37, 12, 70)
HSLhsl(266, 71%, 16%)
HSVhsv(266, 83%, 27%)
CMYKcmyk(47.1%, 82.9%, 0%, 72.5%)
CIE-LABlab(9.79, 26.88, -31.22)
CIE-LCHlch(9.79, 41.20, 310.73°)
OKLaboklab(23.44% 0.0467 -0.0893)
OKLCHoklch(23.44% 0.101 297.6)
XYZxyz(1.9996, 1.0984, 5.8998)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250C46 #2D460C
analogous
#0C1046 #250C46 #420C46
triadic
#250C46 #46250C #0C4625
tetradic
#250C46 #460C10 #2D460C #0C4642
square
#250C46 #460C10 #2D460C #0C4642
split-complementary
#250C46 #46420C #10460C
monochromatic
#0E041A #0E041A #250C46 #41157A #5C1EAE

Accessibility & contrast

On white

17.22
#250C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#250C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250C46
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250C46#FFFFFF#000000##FFFFFF
##250C461.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B48
Deuteranopia (green-blind)
#001A45
Tritanopia (blue-blind)
#1D1B28
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #250c46;
/* rgb */ color: rgb(37, 12, 70);
/* oklch */ color: oklch(23.4% 0.101 297.6);
Tailwind
colors: {
  custom: {
    50: '#644d7a',
    500: '#250c46',
    950: '#000000',
  },
}
SCSS
$custom: #250c46;
$custom-light: #644d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#250c46",
  "rgb": {
    "r": 37,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 265.862,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23437,
    "c": 0.10079,
    "h": 297.6
  },
  "luminance": 0.01098
}

Semantic roles & 50–950 ramp

primary
#250C46
secondary
#5D822C
accent
#ED3AA0
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #250C46

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

Preview Lab → · Contrast checker → · Palette generator →

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