#290542#290542

#290542 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.106 H 306.1°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#290542
RGBrgb(41, 5, 66)
HSLhsl(275, 86%, 14%)
HSVhsv(275, 92%, 26%)
CMYKcmyk(37.9%, 92.4%, 0%, 74.1%)
CIE-LABlab(8.77, 30.17, -30.04)
CIE-LCHlch(8.77, 42.57, 315.12°)
OKLaboklab(22.74% 0.0624 -0.0856)
OKLCHoklch(22.74% 0.106 306.1)
XYZxyz(1.9519, 0.9733, 5.2382)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290542 #1E4205
analogous
#0B0542 #290542 #42053D
triadic
#290542 #422905 #054229
tetradic
#290542 #420B05 #1E4205 #053D42
square
#290542 #420B05 #1E4205 #053D42
split-complementary
#290542 #3D4205 #05420B
monochromatic
#12021C #12021C #290542 #4C097B #700EB4

Accessibility & contrast

On white

17.58
#290542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#290542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290542
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290542#FFFFFF#000000##FFFFFF
##2905421.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001844
Deuteranopia (green-blind)
#001941
Tritanopia (blue-blind)
#241524
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #290542;
/* rgb */ color: rgb(41, 5, 66);
/* oklch */ color: oklch(22.7% 0.106 306.1);
Tailwind
colors: {
  custom: {
    50: '#664a77',
    500: '#290542',
    950: '#000000',
  },
}
SCSS
$custom: #290542;
$custom-light: #664a77;
$custom-dark: #000000;
JSON
{
  "hex": "#290542",
  "rgb": {
    "r": 41,
    "g": 5,
    "b": 66
  },
  "hsl": {
    "h": 275.41,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22738,
    "c": 0.10595,
    "h": 306.1
  },
  "luminance": 0.00973
}

Semantic roles & 50–950 ramp

primary
#290542
secondary
#498220
accent
#FC2C81
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #290542

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

Preview Lab → · Contrast checker → · Palette generator →

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