#290C40#290C40

#290C40 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.094 H 305.7°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#290C40
RGBrgb(41, 12, 64)
HSLhsl(273, 68%, 15%)
HSVhsv(273, 81%, 25%)
CMYKcmyk(35.9%, 81.2%, 0%, 74.9%)
CIE-LABlab(9.83, 26.02, -26.88)
CIE-LCHlch(9.83, 37.41, 314.07°)
OKLaboklab(23.43% 0.0549 -0.0764)
OKLCHoklch(23.43% 0.094 305.7)
XYZxyz(1.9711, 1.1045, 4.9588)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290C40 #23400C
analogous
#0F0C40 #290C40 #400C3D
triadic
#290C40 #40290C #0C4029
tetradic
#290C40 #400F0C #23400C #0C3D40
square
#290C40 #400F0C #23400C #0C3D40
split-complementary
#290C40 #3D400C #0C400F
monochromatic
#11051A #11051A #290C40 #4A1674 #6B1FA7

Accessibility & contrast

On white

17.20
#290C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290C40
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290C40#FFFFFF#000000##FFFFFF
##290C401.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #290c40;
/* rgb */ color: rgb(41, 12, 64);
/* oklch */ color: oklch(23.4% 0.094 305.7);
Tailwind
colors: {
  custom: {
    50: '#664e75',
    500: '#290c40',
    950: '#000000',
  },
}
SCSS
$custom: #290c40;
$custom-light: #664e75;
$custom-dark: #000000;
JSON
{
  "hex": "#290c40",
  "rgb": {
    "r": 41,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 273.462,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23428,
    "c": 0.09409,
    "h": 305.7
  },
  "luminance": 0.01105
}

Semantic roles & 50–950 ramp

primary
#290C40
secondary
#4F7C2C
accent
#EB3D8A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290C40

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

Preview Lab → · Contrast checker → · Palette generator →

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