#290A40#290A40

#290A40 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.097 H 306.3°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#290A40
RGBrgb(41, 10, 64)
HSLhsl(274, 73%, 15%)
HSVhsv(274, 84%, 25%)
CMYKcmyk(35.9%, 84.4%, 0%, 74.9%)
CIE-LABlab(9.47, 27.05, -27.47)
CIE-LCHlch(9.47, 38.55, 314.56°)
OKLaboklab(23.17% 0.0573 -0.0781)
OKLCHoklch(23.17% 0.097 306.3)
XYZxyz(1.9482, 1.0587, 4.9512)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290A40 #21400A
analogous
#0E0A40 #290A40 #400A3C
triadic
#290A40 #40290A #0A4029
tetradic
#290A40 #400E0A #21400A #0A3C40
square
#290A40 #400E0A #21400A #0A3C40
split-complementary
#290A40 #3C400A #0A400E
monochromatic
#11041A #11041A #290A40 #4B1275 #6D1BAA

Accessibility & contrast

On white

17.33
#290A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#290A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290A40
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290A40#FFFFFF#000000##FFFFFF
##290A401.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #290a40;
/* rgb */ color: rgb(41, 10, 64);
/* oklch */ color: oklch(23.2% 0.097 306.3);
Tailwind
colors: {
  custom: {
    50: '#664d75',
    500: '#290a40',
    950: '#000000',
  },
}
SCSS
$custom: #290a40;
$custom-light: #664d75;
$custom-dark: #000000;
JSON
{
  "hex": "#290a40",
  "rgb": {
    "r": 41,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 274.444,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23171,
    "c": 0.09685,
    "h": 306.3
  },
  "luminance": 0.01059
}

Semantic roles & 50–950 ramp

primary
#290A40
secondary
#4D7D29
accent
#F03886
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290A40

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

Preview Lab → · Contrast checker → · Palette generator →

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