#290840#290840

#290840 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.100 H 306.7°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#290840
RGBrgb(41, 8, 64)
HSLhsl(275, 78%, 14%)
HSVhsv(275, 88%, 25%)
CMYKcmyk(35.9%, 87.5%, 0%, 74.9%)
CIE-LABlab(9.12, 28.06, -28.04)
CIE-LCHlch(9.12, 39.67, 315.01°)
OKLaboklab(22.92% 0.0596 -0.0798)
OKLCHoklch(22.92% 0.1 306.7)
XYZxyz(1.9265, 1.0153, 4.9440)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290840 #1F4008
analogous
#0D0840 #290840 #40083B
triadic
#290840 #402908 #084029
tetradic
#290840 #400D08 #1F4008 #083B40
square
#290840 #400D08 #1F4008 #083B40
split-complementary
#290840 #3B4008 #08400D
monochromatic
#11031B #11031B #290840 #4C0F76 #6F16AD

Accessibility & contrast

On white

17.46
#290840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#290840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290840
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290840#FFFFFF#000000##FFFFFF
##2908401.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #290840;
/* rgb */ color: rgb(41, 8, 64);
/* oklch */ color: oklch(22.9% 0.100 306.7);
Tailwind
colors: {
  custom: {
    50: '#664c75',
    500: '#290840',
    950: '#000000',
  },
}
SCSS
$custom: #290840;
$custom-light: #664c75;
$custom-dark: #000000;
JSON
{
  "hex": "#290840",
  "rgb": {
    "r": 41,
    "g": 8,
    "b": 64
  },
  "hsl": {
    "h": 275.357,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22923,
    "c": 0.09955,
    "h": 306.7
  },
  "luminance": 0.01015
}

Semantic roles & 50–950 ramp

primary
#290840
secondary
#4A7E25
accent
#F43483
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290840

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

Preview Lab → · Contrast checker → · Palette generator →

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