#290231#290231

#290231 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.7% C 0.094 H 320.2°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#290231
RGBrgb(41, 2, 49)
HSLhsl(290, 92%, 10%)
HSVhsv(290, 96%, 19%)
CMYKcmyk(16.3%, 95.9%, 0%, 80.8%)
CIE-LABlab(6.65, 27.50, -21.14)
CIE-LCHlch(6.65, 34.69, 322.46°)
OKLaboklab(20.71% 0.0719 -0.0598)
OKLCHoklch(20.71% 0.094 320.2)
XYZxyz(1.4905, 0.7367, 2.9688)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290231 #0A3102
analogous
#110231 #290231 #310222
triadic
#290231 #312902 #023129
tetradic
#290231 #311102 #0A3102 #022231
square
#290231 #311102 #0A3102 #022231
split-complementary
#290231 #223102 #023111
monochromatic
#19011D #19011D #290231 #5A046C #8B07A7

Accessibility & contrast

On white

18.30
#290231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#290231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290231
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290231#FFFFFF#000000##FFFFFF
##2902311.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#051630
Tritanopia (blue-blind)
#290B19
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #290231;
/* rgb */ color: rgb(41, 2, 49);
/* oklch */ color: oklch(20.7% 0.094 320.2);
Tailwind
colors: {
  custom: {
    50: '#654769',
    500: '#290231',
    950: '#000000',
  },
}
SCSS
$custom: #290231;
$custom-light: #654769;
$custom-dark: #000000;
JSON
{
  "hex": "#290231",
  "rgb": {
    "r": 41,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 289.787,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.20713,
    "c": 0.09352,
    "h": 320.2
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#290231
secondary
#297519
accent
#FF294D
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #290231

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

Preview Lab → · Contrast checker → · Palette generator →

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