#250C40#250C40

#250C40 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.093 H 301.2°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#250C40
RGBrgb(37, 12, 64)
HSLhsl(269, 68%, 15%)
HSVhsv(269, 81%, 25%)
CMYKcmyk(42.2%, 81.2%, 0%, 74.9%)
CIE-LABlab(9.21, 25.10, -27.92)
CIE-LCHlch(9.21, 37.54, 311.95°)
OKLaboklab(22.85% 0.0482 -0.0796)
OKLCHoklch(22.85% 0.093 301.2)
XYZxyz(1.8196, 1.0264, 4.9517)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250C40 #27400C
analogous
#0C0D40 #250C40 #3F0C40
triadic
#250C40 #40250C #0C4025
tetradic
#250C40 #400C0D #27400C #0C403F
square
#250C40 #400C0D #27400C #0C403F
split-complementary
#250C40 #403F0C #0D400C
monochromatic
#0F051A #0F051A #250C40 #431674 #611FA7

Accessibility & contrast

On white

17.42
#250C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250C40
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250C40#FFFFFF#000000##FFFFFF
##250C401.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A42
Deuteranopia (green-blind)
#001A3F
Tritanopia (blue-blind)
#1F1925
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #250c40;
/* rgb */ color: rgb(37, 12, 64);
/* oklch */ color: oklch(22.9% 0.093 301.2);
Tailwind
colors: {
  custom: {
    50: '#634d75',
    500: '#250c40',
    950: '#000000',
  },
}
SCSS
$custom: #250c40;
$custom-light: #634d75;
$custom-dark: #000000;
JSON
{
  "hex": "#250c40",
  "rgb": {
    "r": 37,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 268.846,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2285,
    "c": 0.09309,
    "h": 301.2
  },
  "luminance": 0.01026
}

Semantic roles & 50–950 ramp

primary
#250C40
secondary
#557C2C
accent
#EB3D97
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #250C40

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

Preview Lab → · Contrast checker → · Palette generator →

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