#29125E#29125E

#29125E is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.124 H 289.1°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#29125E
RGBrgb(41, 18, 94)
HSLhsl(258, 68%, 22%)
HSVhsv(258, 81%, 37%)
CMYKcmyk(56.4%, 80.9%, 0%, 63.1%)
CIE-LABlab(13.90, 31.75, -40.90)
CIE-LCHlch(13.90, 51.77, 307.82°)
OKLaboklab(27.2% 0.0408 -0.1176)
OKLCHoklch(27.2% 0.124 289.1)
XYZxyz(3.1505, 1.7120, 10.7520)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29125E #475E12
analogous
#12215E #29125E #4F125E
triadic
#29125E #5E2912 #125E29
tetradic
#29125E #5E1221 #475E12 #125E4F
square
#29125E #5E1221 #475E12 #125E4F
split-complementary
#29125E #5E4F12 #215E12
monochromatic
#0B051A #13082B #29125E #3F1C91 #5626C5

Accessibility & contrast

On white

15.64
#29125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#29125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29125E
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29125E#FFFFFF#000000##FFFFFF
##29125E1.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#00215D
Tritanopia (blue-blind)
#152737
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #29125e;
/* rgb */ color: rgb(41, 18, 94);
/* oklch */ color: oklch(27.2% 0.124 289.1);
Tailwind
colors: {
  custom: {
    50: '#6a538c',
    500: '#29125e',
    950: '#000000',
  },
}
SCSS
$custom: #29125e;
$custom-light: #6a538c;
$custom-dark: #000000;
JSON
{
  "hex": "#29125e",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 258.158,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27198,
    "c": 0.12444,
    "h": 289.1
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#29125E
secondary
#799635
accent
#EB3DB6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #29125E

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

Preview Lab → · Contrast checker → · Palette generator →

#29125E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva