#290239#290239

#290239 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.101 H 313.4°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#290239
RGBrgb(41, 2, 57)
HSLhsl(283, 93%, 12%)
HSVhsv(283, 96%, 22%)
CMYKcmyk(28.1%, 96.5%, 0%, 77.6%)
CIE-LABlab(7.32, 29.59, -25.94)
CIE-LCHlch(7.32, 39.35, 318.76°)
OKLaboklab(21.45% 0.0696 -0.0736)
OKLCHoklch(21.45% 0.101 313.4)
XYZxyz(1.6745, 0.8103, 3.9383)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290239 #123902
analogous
#0E0239 #290239 #39022E
triadic
#290239 #392902 #023929
tetradic
#290239 #390E02 #123902 #022E39
square
#290239 #390E02 #123902 #022E39
split-complementary
#290239 #2E3902 #02390E
monochromatic
#15011E #15011E #290239 #540474 #7E06AF

Accessibility & contrast

On white

18.07
#290239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#290239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290239
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290239#FFFFFF#000000##FFFFFF
##2902391.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001738
Tritanopia (blue-blind)
#270F1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #290239;
/* rgb */ color: rgb(41, 2, 57);
/* oklch */ color: oklch(21.4% 0.101 313.4);
Tailwind
colors: {
  custom: {
    50: '#664870',
    500: '#290239',
    950: '#000000',
  },
}
SCSS
$custom: #290239;
$custom-light: #664870;
$custom-dark: #000000;
JSON
{
  "hex": "#290239",
  "rgb": {
    "r": 41,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 282.545,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21448,
    "c": 0.10129,
    "h": 313.4
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#290239
secondary
#377D1A
accent
#FF2967
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#060007
muted
#7A777A

Preview Lab

Preview with #290239

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

Preview Lab → · Contrast checker → · Palette generator →

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