#29125A#29125A

#29125A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.8% C 0.119 H 290.6°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#29125A
RGBrgb(41, 18, 90)
HSLhsl(259, 67%, 21%)
HSVhsv(259, 80%, 35%)
CMYKcmyk(54.4%, 80%, 0%, 64.7%)
CIE-LABlab(13.48, 30.50, -38.89)
CIE-LCHlch(13.48, 49.42, 308.11°)
OKLaboklab(26.78% 0.042 -0.1117)
OKLCHoklch(26.78% 0.119 290.6)
XYZxyz(2.9757, 1.6421, 9.8310)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29125A #435A12
analogous
#121F5A #29125A #4D125A
triadic
#29125A #5A2912 #125A29
tetradic
#29125A #5A121F #435A12 #125A4D
square
#29125A #5A121F #435A12 #125A4D
split-complementary
#29125A #5A4D12 #1F5A12
monochromatic
#0C051A #120827 #29125A #401C8D #5726C0

Accessibility & contrast

On white

15.81
#29125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#29125A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29125A
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29125A#FFFFFF#000000##FFFFFF
##29125A1.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#002159
Tritanopia (blue-blind)
#182635
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #29125a;
/* rgb */ color: rgb(41, 18, 90);
/* oklch */ color: oklch(26.8% 0.119 290.6);
Tailwind
colors: {
  custom: {
    50: '#695289',
    500: '#29125a',
    950: '#000000',
  },
}
SCSS
$custom: #29125a;
$custom-light: #695289;
$custom-dark: #000000;
JSON
{
  "hex": "#29125a",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 259.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26781,
    "c": 0.11931,
    "h": 290.6
  },
  "luminance": 0.01642
}

Semantic roles & 50–950 ramp

primary
#29125A
secondary
#759335
accent
#EA3EB3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #29125A

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

Preview Lab → · Contrast checker → · Palette generator →

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