#290D42#290D42

#290D42 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.7% C 0.095 H 304.1°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#290D42
RGBrgb(41, 13, 66)
HSLhsl(272, 67%, 15%)
HSVhsv(272, 80%, 26%)
CMYKcmyk(37.9%, 80.3%, 0%, 74.1%)
CIE-LABlab(10.20, 26.04, -27.70)
CIE-LCHlch(10.20, 38.02, 313.23°)
OKLaboklab(23.75% 0.0533 -0.0788)
OKLCHoklch(23.75% 0.095 304.1)
XYZxyz(2.0415, 1.1526, 5.2681)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290D42 #26420D
analogous
#0E0D42 #290D42 #420D40
triadic
#290D42 #42290D #0D4229
tetradic
#290D42 #420E0D #26420D #0D4042
square
#290D42 #420E0D #26420D #0D4042
split-complementary
#290D42 #40420D #0D420E
monochromatic
#10051A #10051A #290D42 #491775 #6921A8

Accessibility & contrast

On white

17.06
#290D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290D42
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290D42#FFFFFF#000000##FFFFFF
##290D421.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#001C41
Tritanopia (blue-blind)
#241A26
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #290d42;
/* rgb */ color: rgb(41, 13, 66);
/* oklch */ color: oklch(23.7% 0.095 304.1);
Tailwind
colors: {
  custom: {
    50: '#664e77',
    500: '#290d42',
    950: '#000000',
  },
}
SCSS
$custom: #290d42;
$custom-light: #664e77;
$custom-dark: #000000;
JSON
{
  "hex": "#290d42",
  "rgb": {
    "r": 41,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 271.698,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23746,
    "c": 0.09516,
    "h": 304.1
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#290D42
secondary
#537E2D
accent
#EA3E8F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #290D42

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

Preview Lab → · Contrast checker → · Palette generator →

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