#290F5F#290F5F

#290F5F is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.9% C 0.129 H 289.4°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#290F5F
RGBrgb(41, 15, 95)
HSLhsl(260, 73%, 22%)
HSVhsv(260, 84%, 37%)
CMYKcmyk(56.8%, 84.2%, 0%, 62.7%)
CIE-LABlab(13.47, 33.60, -42.27)
CIE-LCHlch(13.47, 54.00, 308.48°)
OKLaboklab(26.93% 0.0429 -0.1216)
OKLCHoklch(26.93% 0.129 289.4)
XYZxyz(3.1502, 1.6391, 10.9746)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290F5F #455F0F
analogous
#0F1D5F #290F5F #510F5F
triadic
#290F5F #5F290F #0F5F29
tetradic
#290F5F #5F0F1D #455F0F #0F5F51
square
#290F5F #5F0F1D #455F0F #0F5F51
split-complementary
#290F5F #5F510F #1D5F0F
monochromatic
#0B041A #12072A #290F5F #401794 #5720C9

Accessibility & contrast

On white

15.82
#290F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#290F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290F5F
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290F5F#FFFFFF#000000##FFFFFF
##290F5F1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#00215E
Tritanopia (blue-blind)
#142637
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #290f5f;
/* rgb */ color: rgb(41, 15, 95);
/* oklch */ color: oklch(26.9% 0.129 289.4);
Tailwind
colors: {
  custom: {
    50: '#6a518d',
    500: '#290f5f',
    950: '#000000',
  },
}
SCSS
$custom: #290f5f;
$custom-light: #6a518d;
$custom-dark: #000000;
JSON
{
  "hex": "#290f5f",
  "rgb": {
    "r": 41,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 259.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26929,
    "c": 0.12892,
    "h": 289.4
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#290F5F
secondary
#779832
accent
#EF38B4
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #290F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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