#290842#290842

#290842 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.1% C 0.102 H 305.4°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#290842
RGBrgb(41, 8, 66)
HSLhsl(274, 78%, 15%)
HSVhsv(274, 88%, 26%)
CMYKcmyk(37.9%, 87.9%, 0%, 74.1%)
CIE-LABlab(9.31, 28.60, -29.16)
CIE-LCHlch(9.31, 40.84, 314.44°)
OKLaboklab(23.12% 0.059 -0.083)
OKLCHoklch(23.12% 0.102 305.4)
XYZxyz(1.9844, 1.0384, 5.2491)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290842 #214208
analogous
#0C0842 #290842 #42083E
triadic
#290842 #422908 #084229
tetradic
#290842 #420C08 #214208 #083E42
square
#290842 #420C08 #214208 #083E42
split-complementary
#290842 #3E4208 #08420C
monochromatic
#11031B #11031B #290842 #4B0F79 #6D15AF

Accessibility & contrast

On white

17.39
#290842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290842
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290842#FFFFFF#000000##FFFFFF
##2908421.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #290842;
/* rgb */ color: rgb(41, 8, 66);
/* oklch */ color: oklch(23.1% 0.102 305.4);
Tailwind
colors: {
  custom: {
    50: '#664c77',
    500: '#290842',
    950: '#000000',
  },
}
SCSS
$custom: #290842;
$custom-light: #664c77;
$custom-dark: #000000;
JSON
{
  "hex": "#290842",
  "rgb": {
    "r": 41,
    "g": 8,
    "b": 66
  },
  "hsl": {
    "h": 274.138,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23115,
    "c": 0.10185,
    "h": 305.4
  },
  "luminance": 0.01038
}

Semantic roles & 50–950 ramp

primary
#290842
secondary
#4D8025
accent
#F53387
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290842

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

Preview Lab → · Contrast checker → · Palette generator →

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