#290746#290746

#290746 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.108 H 303.1°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#290746
RGBrgb(41, 7, 70)
HSLhsl(272, 82%, 15%)
HSVhsv(272, 90%, 27%)
CMYKcmyk(41.4%, 90%, 0%, 72.5%)
CIE-LABlab(9.53, 30.18, -31.62)
CIE-LCHlch(9.53, 43.71, 313.66°)
OKLaboklab(23.39% 0.0588 -0.0903)
OKLCHoklch(23.39% 0.108 303.1)
XYZxyz(2.0957, 1.0656, 5.8884)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290746 #244607
analogous
#0A0746 #290746 #460743
triadic
#290746 #462907 #074629
tetradic
#290746 #460A07 #244607 #074346
square
#290746 #460A07 #244607 #074346
split-complementary
#290746 #434607 #07460A
monochromatic
#10031C #10031C #290746 #4A0D7E #6A12B5

Accessibility & contrast

On white

17.31
#290746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#290746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290746
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290746#FFFFFF#000000##FFFFFF
##2907461.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001A45
Tritanopia (blue-blind)
#231827
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #290746;
/* rgb */ color: rgb(41, 7, 70);
/* oklch */ color: oklch(23.4% 0.108 303.1);
Tailwind
colors: {
  custom: {
    50: '#674b7a',
    500: '#290746',
    950: '#000000',
  },
}
SCSS
$custom: #290746;
$custom-light: #674b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#290746",
  "rgb": {
    "r": 41,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 272.381,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23389,
    "c": 0.10772,
    "h": 303.1
  },
  "luminance": 0.01066
}

Semantic roles & 50–950 ramp

primary
#290746
secondary
#518524
accent
#F8308C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #290746

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

Preview Lab → · Contrast checker → · Palette generator →

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