#290946#290946

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

Color values

HEX#290946
RGBrgb(41, 9, 70)
HSLhsl(271, 77%, 15%)
HSVhsv(271, 87%, 27%)
CMYKcmyk(41.4%, 87.1%, 0%, 72.5%)
CIE-LABlab(9.87, 29.19, -31.06)
CIE-LCHlch(9.87, 42.62, 313.22°)
OKLaboklab(23.63% 0.0567 -0.0887)
OKLCHoklch(23.63% 0.105 302.6)
XYZxyz(2.1174, 1.1090, 5.8957)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290946 #264609
analogous
#0A0946 #290946 #460944
triadic
#290946 #462909 #094629
tetradic
#290946 #460A09 #264609 #094446
square
#290946 #460A09 #264609 #094446
split-complementary
#290946 #444609 #09460A
monochromatic
#10031B #10031B #290946 #49107C #6917B2

Accessibility & contrast

On white

17.19
#290946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290946
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290946#FFFFFF#000000##FFFFFF
##2909461.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #290946;
/* rgb */ color: rgb(41, 9, 70);
/* oklch */ color: oklch(23.6% 0.105 302.6);
Tailwind
colors: {
  custom: {
    50: '#674c7a',
    500: '#290946',
    950: '#000000',
  },
}
SCSS
$custom: #290946;
$custom-light: #674c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#290946",
  "rgb": {
    "r": 41,
    "g": 9,
    "b": 70
  },
  "hsl": {
    "h": 271.475,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23627,
    "c": 0.10523,
    "h": 302.6
  },
  "luminance": 0.01109
}

Semantic roles & 50–950 ramp

primary
#290946
secondary
#538427
accent
#F4348F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #290946

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

Preview Lab → · Contrast checker → · Palette generator →

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