#290C42#290C42

#290C42 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.097 H 304.4°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#290C42
RGBrgb(41, 12, 66)
HSLhsl(272, 69%, 15%)
HSVhsv(272, 82%, 26%)
CMYKcmyk(37.9%, 81.8%, 0%, 74.1%)
CIE-LABlab(10.01, 26.58, -28.01)
CIE-LCHlch(10.01, 38.61, 313.50°)
OKLaboklab(23.61% 0.0545 -0.0797)
OKLCHoklch(23.61% 0.097 304.4)
XYZxyz(2.0291, 1.1277, 5.2640)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290C42 #25420C
analogous
#0E0C42 #290C42 #420C40
triadic
#290C42 #42290C #0C4229
tetradic
#290C42 #420E0C #25420C #0C4042
square
#290C42 #420E0C #25420C #0C4042
split-complementary
#290C42 #40420C #0C420E
monochromatic
#10051A #10051A #290C42 #491576 #691FAA

Accessibility & contrast

On white

17.13
#290C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#290C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290C42
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290C42#FFFFFF#000000##FFFFFF
##290C421.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#001B41
Tritanopia (blue-blind)
#241926
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #290c42;
/* rgb */ color: rgb(41, 12, 66);
/* oklch */ color: oklch(23.6% 0.097 304.4);
Tailwind
colors: {
  custom: {
    50: '#664e77',
    500: '#290c42',
    950: '#000000',
  },
}
SCSS
$custom: #290c42;
$custom-light: #664e77;
$custom-dark: #000000;
JSON
{
  "hex": "#290c42",
  "rgb": {
    "r": 41,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 272.222,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23612,
    "c": 0.09657,
    "h": 304.4
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#290C42
secondary
#527E2C
accent
#EC3C8D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290C42

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

Preview Lab → · Contrast checker → · Palette generator →

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