#290A42#290A42

#290A42 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.099 H 304.9°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#290A42
RGBrgb(41, 10, 66)
HSLhsl(273, 74%, 15%)
HSVhsv(273, 85%, 26%)
CMYKcmyk(37.9%, 84.8%, 0%, 74.1%)
CIE-LABlab(9.66, 27.59, -28.59)
CIE-LCHlch(9.66, 39.73, 313.98°)
OKLaboklab(23.36% 0.0568 -0.0814)
OKLCHoklch(23.36% 0.099 304.9)
XYZxyz(2.0061, 1.0819, 5.2563)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290A42 #23420A
analogous
#0D0A42 #290A42 #420A3F
triadic
#290A42 #42290A #0A4229
tetradic
#290A42 #420D0A #23420A #0A3F42
square
#290A42 #420D0A #23420A #0A3F42
split-complementary
#290A42 #3F420A #0A420D
monochromatic
#11041B #11041B #290A42 #4A1277 #6B1AAC

Accessibility & contrast

On white

17.26
#290A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290A42
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290A42#FFFFFF#000000##FFFFFF
##290A421.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #290a42;
/* rgb */ color: rgb(41, 10, 66);
/* oklch */ color: oklch(23.4% 0.099 304.9);
Tailwind
colors: {
  custom: {
    50: '#664d77',
    500: '#290a42',
    950: '#000000',
  },
}
SCSS
$custom: #290a42;
$custom-light: #664d77;
$custom-dark: #000000;
JSON
{
  "hex": "#290a42",
  "rgb": {
    "r": 41,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 273.214,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23359,
    "c": 0.09924,
    "h": 304.9
  },
  "luminance": 0.01082
}

Semantic roles & 50–950 ramp

primary
#290A42
secondary
#4F7F29
accent
#F0378A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290A42

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

Preview Lab → · Contrast checker → · Palette generator →

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