#290F5A#290F5A

#290F5A is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.4% C 0.123 H 291.3°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#290F5A
RGBrgb(41, 15, 90)
HSLhsl(261, 71%, 21%)
HSVhsv(261, 83%, 35%)
CMYKcmyk(54.4%, 83.3%, 0%, 64.7%)
CIE-LABlab(12.93, 32.08, -39.80)
CIE-LCHlch(12.93, 51.12, 308.87°)
OKLaboklab(26.39% 0.0446 -0.1143)
OKLCHoklch(26.39% 0.123 291.3)
XYZxyz(2.9302, 1.5511, 9.8159)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F5A #405A0F
analogous
#0F1A5A #290F5A #4E0F5A
triadic
#290F5A #5A290F #0F5A29
tetradic
#290F5A #5A0F1A #405A0F #0F5A4E
square
#290F5A #5A0F1A #405A0F #0F5A4E
split-complementary
#290F5A #5A4E0F #1A5A0F
monochromatic
#0C041A #110626 #290F5A #41188E #5920C3

Accessibility & contrast

On white

16.03
#290F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#290F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F5A
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F5A#FFFFFF#000000##FFFFFF
##290F5A1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#002059
Tritanopia (blue-blind)
#182434
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #290f5a;
/* rgb */ color: rgb(41, 15, 90);
/* oklch */ color: oklch(26.4% 0.123 291.3);
Tailwind
colors: {
  custom: {
    50: '#695189',
    500: '#290f5a',
    950: '#000000',
  },
}
SCSS
$custom: #290f5a;
$custom-light: #695189;
$custom-dark: #000000;
JSON
{
  "hex": "#290f5a",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 260.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26393,
    "c": 0.12273,
    "h": 291.3
  },
  "luminance": 0.01551
}

Semantic roles & 50–950 ramp

primary
#290F5A
secondary
#719431
accent
#EE3AB0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #290F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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