#290440#290440

#290440 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.4% C 0.105 H 307.7°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#290440
RGBrgb(41, 4, 64)
HSLhsl(277, 88%, 13%)
HSVhsv(277, 94%, 25%)
CMYKcmyk(35.9%, 93.8%, 0%, 74.9%)
CIE-LABlab(8.38, 30.21, -29.25)
CIE-LCHlch(8.38, 42.05, 315.93°)
OKLaboklab(22.41% 0.0644 -0.0833)
OKLCHoklch(22.41% 0.105 307.7)
XYZxyz(1.8831, 0.9284, 4.9295)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290440 #1B4004
analogous
#0B0440 #290440 #400439
triadic
#290440 #402904 #044029
tetradic
#290440 #400B04 #1B4004 #043940
square
#290440 #400B04 #1B4004 #043940
split-complementary
#290440 #394004 #04400B
monochromatic
#12021D #12021D #290440 #4E087A #730BB3

Accessibility & contrast

On white

17.71
#290440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#290440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290440
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290440#FFFFFF#000000##FFFFFF
##2904401.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00193F
Tritanopia (blue-blind)
#251423
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #290440;
/* rgb */ color: rgb(41, 4, 64);
/* oklch */ color: oklch(22.4% 0.105 307.7);
Tailwind
colors: {
  custom: {
    50: '#664975',
    500: '#290440',
    950: '#000000',
  },
}
SCSS
$custom: #290440;
$custom-light: #664975;
$custom-dark: #000000;
JSON
{
  "hex": "#290440",
  "rgb": {
    "r": 41,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 277,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22409,
    "c": 0.10525,
    "h": 307.7
  },
  "luminance": 0.00928
}

Semantic roles & 50–950 ramp

primary
#290440
secondary
#44811F
accent
#FE297B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290440

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

Preview Lab → · Contrast checker → · Palette generator →

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