#29185E#29185E

#29185E is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.117 H 287.5°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#29185E
RGBrgb(41, 24, 94)
HSLhsl(255, 59%, 23%)
HSVhsv(255, 74%, 37%)
CMYKcmyk(56.4%, 74.5%, 0%, 63.1%)
CIE-LABlab(15.13, 28.29, -38.88)
CIE-LCHlch(15.13, 48.08, 306.04°)
OKLaboklab(28.07% 0.0351 -0.1117)
OKLCHoklch(28.07% 0.117 287.5)
XYZxyz(3.2609, 1.9327, 10.7887)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29185E #4D5E18
analogous
#182A5E #29185E #4C185E
triadic
#29185E #5E2918 #185E29
tetradic
#29185E #5E182A #4D5E18 #185E4C
square
#29185E #5E182A #4D5E18 #185E4C
split-complementary
#29185E #5E4C18 #2A5E18
monochromatic
#0B0618 #140C2D #29185E #3E248F #5431C0

Accessibility & contrast

On white

15.14
#29185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#29185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29185E
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29185E#FFFFFF#000000##FFFFFF
##29185E1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00245D
Tritanopia (blue-blind)
#142A39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #29185e;
/* rgb */ color: rgb(41, 24, 94);
/* oklch */ color: oklch(28.1% 0.117 287.5);
Tailwind
colors: {
  custom: {
    50: '#69568c',
    500: '#29185e',
    950: '#000000',
  },
}
SCSS
$custom: #29185e;
$custom-light: #69568c;
$custom-dark: #000000;
JSON
{
  "hex": "#29185e",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 254.571,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28071,
    "c": 0.11708,
    "h": 287.5
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#29185E
secondary
#7F943D
accent
#E345BC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #29185E

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

Preview Lab → · Contrast checker → · Palette generator →

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