#29125C#29125C

#29125C is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.0% C 0.122 H 289.8°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#29125C
RGBrgb(41, 18, 92)
HSLhsl(259, 67%, 22%)
HSVhsv(259, 80%, 36%)
CMYKcmyk(55.4%, 80.4%, 0%, 63.9%)
CIE-LABlab(13.69, 31.12, -39.90)
CIE-LCHlch(13.69, 50.60, 307.96°)
OKLaboklab(26.99% 0.0414 -0.1146)
OKLCHoklch(26.99% 0.122 289.8)
XYZxyz(3.0620, 1.6766, 10.2854)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29125C #455C12
analogous
#12205C #29125C #4E125C
triadic
#29125C #5C2912 #125C29
tetradic
#29125C #5C1220 #455C12 #125C4E
square
#29125C #5C1220 #455C12 #125C4E
split-complementary
#29125C #5C4E12 #205C12
monochromatic
#0B051A #120829 #29125C #401C8F #5726C2

Accessibility & contrast

On white

15.73
#29125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29125C
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29125C#FFFFFF#000000##FFFFFF
##29125C1.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#00215B
Tritanopia (blue-blind)
#162636
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #29125c;
/* rgb */ color: rgb(41, 18, 92);
/* oklch */ color: oklch(27.0% 0.122 289.8);
Tailwind
colors: {
  custom: {
    50: '#69538b',
    500: '#29125c',
    950: '#000000',
  },
}
SCSS
$custom: #29125c;
$custom-light: #69538b;
$custom-dark: #000000;
JSON
{
  "hex": "#29125c",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 258.649,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26988,
    "c": 0.12189,
    "h": 289.8
  },
  "luminance": 0.01677
}

Semantic roles & 50–950 ramp

primary
#29125C
secondary
#779435
accent
#EA3EB5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #29125C

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

Preview Lab → · Contrast checker → · Palette generator →

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