#290340#290340

#290340 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.3% C 0.107 H 308.0°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#290340
RGBrgb(41, 3, 64)
HSLhsl(277, 91%, 13%)
HSVhsv(277, 95%, 25%)
CMYKcmyk(35.9%, 95.3%, 0%, 74.9%)
CIE-LABlab(8.19, 30.77, -29.56)
CIE-LCHlch(8.19, 42.67, 316.15°)
OKLaboklab(22.28% 0.0657 -0.0842)
OKLCHoklch(22.28% 0.107 308)
XYZxyz(1.8722, 0.9067, 4.9259)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290340 #1A4003
analogous
#0A0340 #290340 #400338
triadic
#290340 #402903 #034029
tetradic
#290340 #400A03 #1A4003 #033840
square
#290340 #400A03 #1A4003 #033840
split-complementary
#290340 #384003 #03400A
monochromatic
#13011D #13011D #290340 #4E067A #7408B5

Accessibility & contrast

On white

17.78
#290340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#290340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290340
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290340#FFFFFF#000000##FFFFFF
##2903401.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#251322
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #290340;
/* rgb */ color: rgb(41, 3, 64);
/* oklch */ color: oklch(22.3% 0.107 308.0);
Tailwind
colors: {
  custom: {
    50: '#664975',
    500: '#290340',
    950: '#000000',
  },
}
SCSS
$custom: #290340;
$custom-light: #664975;
$custom-dark: #000000;
JSON
{
  "hex": "#290340",
  "rgb": {
    "r": 41,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 277.377,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22277,
    "c": 0.10674,
    "h": 308
  },
  "luminance": 0.00907
}

Semantic roles & 50–950 ramp

primary
#290340
secondary
#43821D
accent
#FF297A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290340

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

Preview Lab → · Contrast checker → · Palette generator →

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