#290F5E#290F5E

#290F5E is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.8% C 0.128 H 289.8°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#290F5E
RGBrgb(41, 15, 94)
HSLhsl(260, 72%, 21%)
HSVhsv(260, 84%, 37%)
CMYKcmyk(56.4%, 84%, 0%, 63.1%)
CIE-LABlab(13.36, 33.30, -41.78)
CIE-LCHlch(13.36, 53.43, 308.55°)
OKLaboklab(26.82% 0.0433 -0.1201)
OKLCHoklch(26.82% 0.128 289.8)
XYZxyz(3.1051, 1.6211, 10.7368)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F5E #445E0F
analogous
#0F1D5E #290F5E #510F5E
triadic
#290F5E #5E290F #0F5E29
tetradic
#290F5E #5E0F1D #445E0F #0F5E51
square
#290F5E #5E0F1D #445E0F #0F5E51
split-complementary
#290F5E #5E510F #1D5E0F
monochromatic
#0C041A #120729 #290F5E #401793 #5720C8

Accessibility & contrast

On white

15.86
#290F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#290F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F5E
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F5E#FFFFFF#000000##FFFFFF
##290F5E1.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#00205D
Tritanopia (blue-blind)
#152636
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #290f5e;
/* rgb */ color: rgb(41, 15, 94);
/* oklch */ color: oklch(26.8% 0.128 289.8);
Tailwind
colors: {
  custom: {
    50: '#6a518d',
    500: '#290f5e',
    950: '#000000',
  },
}
SCSS
$custom: #290f5e;
$custom-light: #6a518d;
$custom-dark: #000000;
JSON
{
  "hex": "#290f5e",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 259.747,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26821,
    "c": 0.12769,
    "h": 289.8
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#290F5E
secondary
#769731
accent
#EF39B3
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #290F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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