#290546#290546

#290546 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.1% C 0.110 H 303.5°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#290546
RGBrgb(41, 5, 70)
HSLhsl(273, 87%, 15%)
HSVhsv(273, 93%, 27%)
CMYKcmyk(41.4%, 92.9%, 0%, 72.5%)
CIE-LABlab(9.18, 31.21, -32.20)
CIE-LCHlch(9.18, 44.84, 314.11°)
OKLaboklab(23.15% 0.0609 -0.0919)
OKLCHoklch(23.15% 0.11 303.5)
XYZxyz(2.0740, 1.0222, 5.8812)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290546 #224605
analogous
#090546 #290546 #460543
triadic
#290546 #462905 #054629
tetradic
#290546 #460905 #224605 #054346
square
#290546 #460905 #224605 #054346
split-complementary
#290546 #434605 #054609
monochromatic
#11021D #11021D #290546 #4A097F #6C0DB8

Accessibility & contrast

On white

17.44
#290546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290546
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290546#FFFFFF#000000##FFFFFF
##2905461.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #290546;
/* rgb */ color: rgb(41, 5, 70);
/* oklch */ color: oklch(23.1% 0.110 303.5);
Tailwind
colors: {
  custom: {
    50: '#674a7a',
    500: '#290546',
    950: '#000000',
  },
}
SCSS
$custom: #290546;
$custom-light: #674a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#290546",
  "rgb": {
    "r": 41,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 273.231,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23146,
    "c": 0.11029,
    "h": 303.5
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#290546
secondary
#4E8621
accent
#FD2B89
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #290546

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

Preview Lab → · Contrast checker → · Palette generator →

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