#290942#290942

#290942 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.101 H 305.1°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#290942
RGBrgb(41, 9, 66)
HSLhsl(274, 76%, 15%)
HSVhsv(274, 86%, 26%)
CMYKcmyk(37.9%, 86.4%, 0%, 74.1%)
CIE-LABlab(9.48, 28.09, -28.87)
CIE-LCHlch(9.48, 40.28, 314.21°)
OKLaboklab(23.24% 0.0579 -0.0822)
OKLCHoklch(23.24% 0.101 305.1)
XYZxyz(1.9953, 1.0602, 5.2527)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290942 #224209
analogous
#0C0942 #290942 #42093F
triadic
#290942 #422909 #094229
tetradic
#290942 #420C09 #224209 #093F42
square
#290942 #420C09 #224209 #093F42
split-complementary
#290942 #3F4209 #09420C
monochromatic
#11041B #11041B #290942 #4A1078 #6C18AE

Accessibility & contrast

On white

17.33
#290942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#290942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290942
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290942#FFFFFF#000000##FFFFFF
##2909421.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#241725
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #290942;
/* rgb */ color: rgb(41, 9, 66);
/* oklch */ color: oklch(23.2% 0.101 305.1);
Tailwind
colors: {
  custom: {
    50: '#664c77',
    500: '#290942',
    950: '#000000',
  },
}
SCSS
$custom: #290942;
$custom-light: #664c77;
$custom-dark: #000000;
JSON
{
  "hex": "#290942",
  "rgb": {
    "r": 41,
    "g": 9,
    "b": 66
  },
  "hsl": {
    "h": 273.684,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23238,
    "c": 0.10054,
    "h": 305.1
  },
  "luminance": 0.0106
}

Semantic roles & 50–950 ramp

primary
#290942
secondary
#4E8027
accent
#F33588
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290942

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

Preview Lab → · Contrast checker → · Palette generator →

#290942 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva