#290847#290847

#290847 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.108 H 302.2°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#290847
RGBrgb(41, 8, 71)
HSLhsl(271, 80%, 15%)
HSVhsv(271, 89%, 28%)
CMYKcmyk(42.3%, 88.7%, 0%, 72.2%)
CIE-LABlab(9.80, 29.95, -31.88)
CIE-LCHlch(9.80, 43.74, 313.21°)
OKLaboklab(23.61% 0.0574 -0.091)
OKLCHoklch(23.61% 0.108 302.2)
XYZxyz(2.1383, 1.1000, 6.0597)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290847 #264708
analogous
#0A0847 #290847 #470845
triadic
#290847 #472908 #084729
tetradic
#290847 #470A08 #264708 #084547
square
#290847 #470A08 #264708 #084547
split-complementary
#290847 #454708 #08470A
monochromatic
#10031C #10031C #290847 #490E7E #6914B5

Accessibility & contrast

On white

17.21
#290847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#290847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290847
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290847#FFFFFF#000000##FFFFFF
##2908471.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#221928
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #290847;
/* rgb */ color: rgb(41, 8, 71);
/* oklch */ color: oklch(23.6% 0.108 302.2);
Tailwind
colors: {
  custom: {
    50: '#674c7b',
    500: '#290847',
    950: '#000000',
  },
}
SCSS
$custom: #290847;
$custom-light: #674c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#290847",
  "rgb": {
    "r": 41,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 271.429,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23609,
    "c": 0.10762,
    "h": 302.2
  },
  "luminance": 0.011
}

Semantic roles & 50–950 ramp

primary
#290847
secondary
#538526
accent
#F6328F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #290847

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

Preview Lab → · Contrast checker → · Palette generator →

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