#29138A#29138A

#29138A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.177 H 278.2°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#29138A
RGBrgb(41, 19, 138)
HSLhsl(251, 76%, 31%)
HSVhsv(251, 86%, 54%)
CMYKcmyk(70.3%, 86.2%, 0%, 45.9%)
CIE-LABlab(19.10, 44.78, -60.74)
CIE-LCHlch(19.10, 75.46, 306.40°)
OKLaboklab(32.3% 0.0253 -0.1754)
OKLCHoklch(32.3% 0.177 278.2)
XYZxyz(5.7333, 2.7716, 24.2727)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29138A #748A13
analogous
#13398A #29138A #64138A
triadic
#29138A #8A2913 #138A29
tetradic
#29138A #8A1339 #748A13 #138A64
square
#29138A #8A1339 #748A13 #138A64
split-complementary
#29138A #8A6413 #398A13
monochromatic
#09041E #190C54 #29138A #391AC0 #5534E3

Accessibility & contrast

On white

13.51
#29138A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#29138A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29138A
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29138A#FFFFFF#000000##FFFFFF
##29138A1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338D
Deuteranopia (green-blind)
#002988
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #29138a;
/* rgb */ color: rgb(41, 19, 138);
/* oklch */ color: oklch(32.3% 0.177 278.2);
Tailwind
colors: {
  custom: {
    50: '#7356ad',
    500: '#29138a',
    950: '#000000',
  },
}
SCSS
$custom: #29138a;
$custom-light: #7356ad;
$custom-dark: #000000;
JSON
{
  "hex": "#29138a",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 138
  },
  "hsl": {
    "h": 251.092,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32296,
    "c": 0.17725,
    "h": 278.2
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#29138A
secondary
#A6BE3A
accent
#F235CF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #29138A

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

Preview Lab → · Contrast checker → · Palette generator →

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