#290945#290945

#290945 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.104 H 303.2°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#290945
RGBrgb(41, 9, 69)
HSLhsl(272, 77%, 15%)
HSVhsv(272, 87%, 27%)
CMYKcmyk(40.6%, 87%, 0%, 72.9%)
CIE-LABlab(9.77, 28.91, -30.52)
CIE-LCHlch(9.77, 42.04, 313.45°)
OKLaboklab(23.53% 0.057 -0.087)
OKLCHoklch(23.53% 0.104 303.2)
XYZxyz(2.0861, 1.0965, 5.7308)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290945 #254509
analogous
#0B0945 #290945 #450943
triadic
#290945 #452909 #094529
tetradic
#290945 #450B09 #254509 #094345
square
#290945 #450B09 #254509 #094345
split-complementary
#290945 #434509 #09450B
monochromatic
#10041B #10041B #290945 #49107B #6917B1

Accessibility & contrast

On white

17.22
#290945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290945
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290945#FFFFFF#000000##FFFFFF
##2909451.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001B44
Tritanopia (blue-blind)
#231927
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #290945;
/* rgb */ color: rgb(41, 9, 69);
/* oklch */ color: oklch(23.5% 0.104 303.2);
Tailwind
colors: {
  custom: {
    50: '#664c79',
    500: '#290945',
    950: '#000000',
  },
}
SCSS
$custom: #290945;
$custom-light: #664c79;
$custom-dark: #000000;
JSON
{
  "hex": "#290945",
  "rgb": {
    "r": 41,
    "g": 9,
    "b": 69
  },
  "hsl": {
    "h": 272,
    "s": 76.923,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23529,
    "c": 0.10405,
    "h": 303.2
  },
  "luminance": 0.01096
}

Semantic roles & 50–950 ramp

primary
#290945
secondary
#528327
accent
#F3348E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #290945

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

Preview Lab → · Contrast checker → · Palette generator →

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