#290640#290640

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

Color values

HEX#290640
RGBrgb(41, 6, 64)
HSLhsl(276, 83%, 14%)
HSVhsv(276, 91%, 25%)
CMYKcmyk(35.9%, 90.6%, 0%, 74.9%)
CIE-LABlab(8.76, 29.11, -28.64)
CIE-LCHlch(8.76, 40.83, 315.47°)
OKLaboklab(22.67% 0.0619 -0.0815)
OKLCHoklch(22.67% 0.102 307.2)
XYZxyz(1.9048, 0.9719, 4.9367)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290640 #1D4006
analogous
#0C0640 #290640 #40063A
triadic
#290640 #402906 #064029
tetradic
#290640 #400C06 #1D4006 #063A40
square
#290640 #400C06 #1D4006 #063A40
split-complementary
#290640 #3A4006 #06400C
monochromatic
#12031C #12031C #290640 #4D0B78 #7110B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##290640#FFFFFF#000000##FFFFFF
##2906401.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)
#001842
Deuteranopia (green-blind)
#00193F
Tritanopia (blue-blind)
#251523
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #290640;
/* rgb */ color: rgb(41, 6, 64);
/* oklch */ color: oklch(22.7% 0.102 307.2);
Tailwind
colors: {
  custom: {
    50: '#664a75',
    500: '#290640',
    950: '#000000',
  },
}
SCSS
$custom: #290640;
$custom-light: #664a75;
$custom-dark: #000000;
JSON
{
  "hex": "#290640",
  "rgb": {
    "r": 41,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 276.207,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22669,
    "c": 0.10235,
    "h": 307.2
  },
  "luminance": 0.00972
}

Semantic roles & 50–950 ramp

primary
#290640
secondary
#478022
accent
#F92F7F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290640

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

Preview Lab → · Contrast checker → · Palette generator →

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