#290B42#290B42

#290B42 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.098 H 304.6°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#290B42
RGBrgb(41, 11, 66)
HSLhsl(273, 71%, 15%)
HSVhsv(273, 83%, 26%)
CMYKcmyk(37.9%, 83.3%, 0%, 74.1%)
CIE-LABlab(9.83, 27.10, -28.31)
CIE-LCHlch(9.83, 39.19, 313.75°)
OKLaboklab(23.48% 0.0557 -0.0806)
OKLCHoklch(23.48% 0.098 304.6)
XYZxyz(2.0173, 1.1041, 5.2600)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290B42 #24420B
analogous
#0D0B42 #290B42 #420B40
triadic
#290B42 #42290B #0B4229
tetradic
#290B42 #420D0B #24420B #0B4042
square
#290B42 #420D0B #24420B #0B4042
split-complementary
#290B42 #40420B #0B420D
monochromatic
#10041A #10041A #290B42 #4A1476 #6A1CAB

Accessibility & contrast

On white

17.20
#290B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#290B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290B42
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290B42#FFFFFF#000000##FFFFFF
##290B421.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #290b42;
/* rgb */ color: rgb(41, 11, 66);
/* oklch */ color: oklch(23.5% 0.098 304.6);
Tailwind
colors: {
  custom: {
    50: '#664d77',
    500: '#290b42',
    950: '#000000',
  },
}
SCSS
$custom: #290b42;
$custom-light: #664d77;
$custom-dark: #000000;
JSON
{
  "hex": "#290b42",
  "rgb": {
    "r": 41,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 272.727,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23482,
    "c": 0.09792,
    "h": 304.6
  },
  "luminance": 0.01104
}

Semantic roles & 50–950 ramp

primary
#290B42
secondary
#517F2A
accent
#EE3A8C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290B42

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

Preview Lab → · Contrast checker → · Palette generator →

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