#290646#290646

#290646 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.3% C 0.109 H 303.3°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#290646
RGBrgb(41, 6, 70)
HSLhsl(273, 84%, 15%)
HSVhsv(273, 91%, 27%)
CMYKcmyk(41.4%, 91.4%, 0%, 72.5%)
CIE-LABlab(9.35, 30.69, -31.91)
CIE-LCHlch(9.35, 44.27, 313.88°)
OKLaboklab(23.27% 0.0599 -0.0911)
OKLCHoklch(23.27% 0.109 303.3)
XYZxyz(2.0848, 1.0439, 5.8848)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290646 #234606
analogous
#090646 #290646 #460643
triadic
#290646 #462906 #064629
tetradic
#290646 #460906 #234606 #064346
square
#290646 #460906 #234606 #064346
split-complementary
#290646 #434606 #064609
monochromatic
#11021C #11021C #290646 #4A0B7E #6B10B7

Accessibility & contrast

On white

17.37
#290646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290646
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290646#FFFFFF#000000##FFFFFF
##2906461.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001A45
Tritanopia (blue-blind)
#231827
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #290646;
/* rgb */ color: rgb(41, 6, 70);
/* oklch */ color: oklch(23.3% 0.109 303.3);
Tailwind
colors: {
  custom: {
    50: '#674b7a',
    500: '#290646',
    950: '#000000',
  },
}
SCSS
$custom: #290646;
$custom-light: #674b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#290646",
  "rgb": {
    "r": 41,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 272.813,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23268,
    "c": 0.109,
    "h": 303.3
  },
  "luminance": 0.01044
}

Semantic roles & 50–950 ramp

primary
#290646
secondary
#4F8522
accent
#FA2D8A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #290646

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

Preview Lab → · Contrast checker → · Palette generator →

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