#290940#290940

#290940 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.098 H 306.5°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#290940
RGBrgb(41, 9, 64)
HSLhsl(275, 75%, 14%)
HSVhsv(275, 86%, 25%)
CMYKcmyk(35.9%, 85.9%, 0%, 74.9%)
CIE-LABlab(9.30, 27.55, -27.76)
CIE-LCHlch(9.30, 39.10, 314.78°)
OKLaboklab(23.05% 0.0584 -0.0789)
OKLCHoklch(23.05% 0.098 306.5)
XYZxyz(1.9373, 1.0370, 4.9476)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290940 #204009
analogous
#0E0940 #290940 #40093C
triadic
#290940 #402909 #094029
tetradic
#290940 #400E09 #204009 #093C40
square
#290940 #400E09 #204009 #093C40
split-complementary
#290940 #3C4009 #09400E
monochromatic
#11041B #11041B #290940 #4B1176 #6E18AB

Accessibility & contrast

On white

17.39
#290940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#290940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290940
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290940#FFFFFF#000000##FFFFFF
##2909401.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001942
Deuteranopia (green-blind)
#001A3F
Tritanopia (blue-blind)
#251724
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #290940;
/* rgb */ color: rgb(41, 9, 64);
/* oklch */ color: oklch(23.0% 0.098 306.5);
Tailwind
colors: {
  custom: {
    50: '#664c75',
    500: '#290940',
    950: '#000000',
  },
}
SCSS
$custom: #290940;
$custom-light: #664c75;
$custom-dark: #000000;
JSON
{
  "hex": "#290940",
  "rgb": {
    "r": 41,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 274.909,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23048,
    "c": 0.09819,
    "h": 306.5
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#290940
secondary
#4B7E27
accent
#F23685
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290940

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

Preview Lab → · Contrast checker → · Palette generator →

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