#290F42#290F42

#290F42 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.092 H 303.5°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#290F42
RGBrgb(41, 15, 66)
HSLhsl(271, 63%, 16%)
HSVhsv(271, 77%, 26%)
CMYKcmyk(37.9%, 77.3%, 0%, 74.1%)
CIE-LABlab(10.60, 24.92, -27.05)
CIE-LCHlch(10.60, 36.78, 312.65°)
OKLaboklab(24.03% 0.0508 -0.0769)
OKLCHoklch(24.03% 0.092 303.5)
XYZxyz(2.0684, 1.2064, 5.2771)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F42 #28420F
analogous
#0F0F42 #290F42 #420F41
triadic
#290F42 #42290F #0F4229
tetradic
#290F42 #420F0F #28420F #0F4142
square
#290F42 #420F0F #28420F #0F4142
split-complementary
#290F42 #41420F #0F420F
monochromatic
#0F0619 #0F0619 #290F42 #481A74 #6726A6

Accessibility & contrast

On white

16.92
#290F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#290F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F42
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F42#FFFFFF#000000##FFFFFF
##290F421.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#001D41
Tritanopia (blue-blind)
#241B27
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #290f42;
/* rgb */ color: rgb(41, 15, 66);
/* oklch */ color: oklch(24.0% 0.092 303.5);
Tailwind
colors: {
  custom: {
    50: '#654f77',
    500: '#290f42',
    950: '#000000',
  },
}
SCSS
$custom: #290f42;
$custom-light: #654f77;
$custom-dark: #000000;
JSON
{
  "hex": "#290f42",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 270.588,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24033,
    "c": 0.09219,
    "h": 303.5
  },
  "luminance": 0.01206
}

Semantic roles & 50–950 ramp

primary
#290F42
secondary
#567C30
accent
#E64292
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #290F42

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

Preview Lab → · Contrast checker → · Palette generator →

#290F42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva