#290642#290642

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

Color values

HEX#290642
RGBrgb(41, 6, 66)
HSLhsl(275, 83%, 14%)
HSVhsv(275, 91%, 26%)
CMYKcmyk(37.9%, 90.9%, 0%, 74.1%)
CIE-LABlab(8.95, 29.63, -29.74)
CIE-LCHlch(8.95, 41.98, 314.90°)
OKLaboklab(22.87% 0.0613 -0.0847)
OKLCHoklch(22.87% 0.105 305.9)
XYZxyz(1.9627, 0.9950, 5.2419)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290642 #1F4206
analogous
#0B0642 #290642 #42063D
triadic
#290642 #422906 #064229
tetradic
#290642 #420B06 #1F4206 #063D42
square
#290642 #420B06 #1F4206 #063D42
split-complementary
#290642 #3D4206 #06420B
monochromatic
#11031C #11031C #290642 #4C0B7A #6F10B2

Accessibility & contrast

On white

17.51
#290642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290642
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290642#FFFFFF#000000##FFFFFF
##2906421.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #290642;
/* rgb */ color: rgb(41, 6, 66);
/* oklch */ color: oklch(22.9% 0.105 305.9);
Tailwind
colors: {
  custom: {
    50: '#664b77',
    500: '#290642',
    950: '#000000',
  },
}
SCSS
$custom: #290642;
$custom-light: #664b77;
$custom-dark: #000000;
JSON
{
  "hex": "#290642",
  "rgb": {
    "r": 41,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 275,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22865,
    "c": 0.10456,
    "h": 305.9
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#290642
secondary
#4A8222
accent
#FA2E83
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #290642

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

Preview Lab → · Contrast checker → · Palette generator →

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