#290D38#290D38

#290D38 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.083 H 311.5°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#290D38
RGBrgb(41, 13, 56)
HSLhsl(279, 62%, 14%)
HSVhsv(279, 77%, 22%)
CMYKcmyk(26.8%, 76.8%, 0%, 78%)
CIE-LABlab(9.36, 23.28, -21.92)
CIE-LCHlch(9.36, 31.97, 316.72°)
OKLaboklab(22.88% 0.0548 -0.0618)
OKLCHoklch(22.88% 0.083 311.5)
XYZxyz(1.7721, 1.0448, 3.8489)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290D38 #1C380D
analogous
#130D38 #290D38 #380D31
triadic
#290D38 #38290D #0D3829
tetradic
#290D38 #38130D #1C380D #0D3138
square
#290D38 #38130D #1C380D #0D3138
split-complementary
#290D38 #31380D #0D3813
monochromatic
#120619 #120619 #290D38 #4D196A #72249B

Accessibility & contrast

On white

17.37
#290D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#290D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290D38
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290D38#FFFFFF#000000##FFFFFF
##290D381.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001939
Deuteranopia (green-blind)
#091B37
Tritanopia (blue-blind)
#271621
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #290d38;
/* rgb */ color: rgb(41, 13, 56);
/* oklch */ color: oklch(22.9% 0.083 311.5);
Tailwind
colors: {
  custom: {
    50: '#654e6f',
    500: '#290d38',
    950: '#000000',
  },
}
SCSS
$custom: #290d38;
$custom-light: #654e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#290d38",
  "rgb": {
    "r": 41,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 279.07,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22876,
    "c": 0.08258,
    "h": 311.5
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#290D38
secondary
#46732D
accent
#E5427B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #290D38

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

Preview Lab → · Contrast checker → · Palette generator →

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