#250C42#250C42

#250C42 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.0% C 0.096 H 299.9°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#250C42
RGBrgb(37, 12, 66)
HSLhsl(268, 69%, 15%)
HSVhsv(268, 82%, 26%)
CMYKcmyk(43.9%, 81.8%, 0%, 74.1%)
CIE-LABlab(9.40, 25.69, -29.04)
CIE-LCHlch(9.40, 38.77, 311.50°)
OKLaboklab(23.04% 0.0478 -0.0829)
OKLCHoklch(23.04% 0.096 299.9)
XYZxyz(1.8775, 1.0496, 5.2569)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250C42 #29420C
analogous
#0C0E42 #250C42 #400C42
triadic
#250C42 #42250C #0C4225
tetradic
#250C42 #420C0E #29420C #0C4240
square
#250C42 #420C0E #29420C #0C4240
split-complementary
#250C42 #42400C #0E420C
monochromatic
#0F051A #0F051A #250C42 #421576 #5F1FAA

Accessibility & contrast

On white

17.36
#250C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#250C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250C42
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250C42#FFFFFF#000000##FFFFFF
##250C421.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#1E1926
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #250c42;
/* rgb */ color: rgb(37, 12, 66);
/* oklch */ color: oklch(23.0% 0.096 299.9);
Tailwind
colors: {
  custom: {
    50: '#634d77',
    500: '#250c42',
    950: '#000000',
  },
}
SCSS
$custom: #250c42;
$custom-light: #634d77;
$custom-dark: #000000;
JSON
{
  "hex": "#250c42",
  "rgb": {
    "r": 37,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 267.778,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23042,
    "c": 0.09566,
    "h": 299.9
  },
  "luminance": 0.0105
}

Semantic roles & 50–950 ramp

primary
#250C42
secondary
#587E2C
accent
#EC3C9A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #250C42

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

Preview Lab → · Contrast checker → · Palette generator →

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