#290F6A#290F6A

#290F6A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.142 H 285.9°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#290F6A
RGBrgb(41, 15, 106)
HSLhsl(257, 75%, 24%)
HSVhsv(257, 86%, 42%)
CMYKcmyk(61.3%, 85.8%, 0%, 58.4%)
CIE-LABlab(14.70, 36.92, -47.52)
CIE-LCHlch(14.70, 60.18, 307.84°)
OKLaboklab(28.15% 0.0389 -0.1369)
OKLCHoklch(28.15% 0.142 285.9)
XYZxyz(3.6860, 1.8535, 13.7964)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F6A #506A0F
analogous
#0F226A #290F6A #560F6A
triadic
#290F6A #6A290F #0F6A29
tetradic
#290F6A #6A0F22 #506A0F #0F6A56
square
#290F6A #6A0F22 #506A0F #0F6A56
split-complementary
#290F6A #6A560F #226A0F
monochromatic
#0A041B #140734 #290F6A #3E17A0 #521ED5

Accessibility & contrast

On white

15.32
#290F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#290F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F6A
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F6A#FFFFFF#000000##FFFFFF
##290F6A1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#002268
Tritanopia (blue-blind)
#062B3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #290f6a;
/* rgb */ color: rgb(41, 15, 106);
/* oklch */ color: oklch(28.2% 0.142 285.9);
Tailwind
colors: {
  custom: {
    50: '#6c5296',
    500: '#290f6a',
    950: '#000000',
  },
}
SCSS
$custom: #290f6a;
$custom-light: #6c5296;
$custom-dark: #000000;
JSON
{
  "hex": "#290f6a",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 257.143,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28151,
    "c": 0.14233,
    "h": 285.9
  },
  "luminance": 0.01854
}

Semantic roles & 50–950 ramp

primary
#290F6A
secondary
#82A232
accent
#F236BC
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020D
muted
#7A787E

Preview Lab

Preview with #290F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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