#290B40#290B40

#290B40 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.096 H 306.0°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#290B40
RGBrgb(41, 11, 64)
HSLhsl(274, 71%, 15%)
HSVhsv(274, 83%, 25%)
CMYKcmyk(35.9%, 82.8%, 0%, 74.9%)
CIE-LABlab(9.65, 26.54, -27.18)
CIE-LCHlch(9.65, 37.99, 314.32°)
OKLaboklab(23.3% 0.0561 -0.0773)
OKLCHoklch(23.3% 0.096 306)
XYZxyz(1.9593, 1.0809, 4.9549)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290B40 #22400B
analogous
#0E0B40 #290B40 #400B3D
triadic
#290B40 #40290B #0B4029
tetradic
#290B40 #400E0B #22400B #0B3D40
square
#290B40 #400E0B #22400B #0B3D40
split-complementary
#290B40 #3D400B #0B400E
monochromatic
#11041A #11041A #290B40 #4A1474 #6C1DA8

Accessibility & contrast

On white

17.27
#290B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#290B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290B40
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290B40#FFFFFF#000000##FFFFFF
##290B401.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A42
Deuteranopia (green-blind)
#001B3F
Tritanopia (blue-blind)
#251824
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #290b40;
/* rgb */ color: rgb(41, 11, 64);
/* oklch */ color: oklch(23.3% 0.096 306.0);
Tailwind
colors: {
  custom: {
    50: '#664d75',
    500: '#290b40',
    950: '#000000',
  },
}
SCSS
$custom: #290b40;
$custom-light: #664d75;
$custom-dark: #000000;
JSON
{
  "hex": "#290b40",
  "rgb": {
    "r": 41,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 273.962,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23297,
    "c": 0.0955,
    "h": 306
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#290B40
secondary
#4E7D2A
accent
#ED3A88
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290B40

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

Preview Lab → · Contrast checker → · Palette generator →

#290B40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva