#290240#290240

#290240 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.108 H 308.2°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#290240
RGBrgb(41, 2, 64)
HSLhsl(278, 94%, 13%)
HSVhsv(278, 97%, 25%)
CMYKcmyk(35.9%, 96.9%, 0%, 74.9%)
CIE-LABlab(7.99, 31.35, -29.88)
CIE-LCHlch(7.99, 43.31, 316.38°)
OKLaboklab(22.14% 0.0669 -0.0851)
OKLCHoklch(22.14% 0.108 308.2)
XYZxyz(1.8614, 0.8850, 4.9223)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290240 #194002
analogous
#0A0240 #290240 #400238
triadic
#290240 #402902 #024029
tetradic
#290240 #400A02 #194002 #023840
square
#290240 #400A02 #194002 #023840
split-complementary
#290240 #384002 #02400A
monochromatic
#13011E #13011E #290240 #4F047B #7506B7

Accessibility & contrast

On white

17.84
#290240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#290240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290240
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290240#FFFFFF#000000##FFFFFF
##2902401.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#251322
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #290240;
/* rgb */ color: rgb(41, 2, 64);
/* oklch */ color: oklch(22.1% 0.108 308.2);
Tailwind
colors: {
  custom: {
    50: '#664875',
    500: '#290240',
    950: '#000000',
  },
}
SCSS
$custom: #290240;
$custom-light: #664875;
$custom-dark: #000000;
JSON
{
  "hex": "#290240",
  "rgb": {
    "r": 41,
    "g": 2,
    "b": 64
  },
  "hsl": {
    "h": 277.742,
    "s": 93.939,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22143,
    "c": 0.10826,
    "h": 308.2
  },
  "luminance": 0.00885
}

Semantic roles & 50–950 ramp

primary
#290240
secondary
#42831B
accent
#FF2978
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290240

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

Preview Lab → · Contrast checker → · Palette generator →

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