#29195F#29195F

#29195F is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.117 H 286.8°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#29195F
RGBrgb(41, 25, 95)
HSLhsl(254, 58%, 24%)
HSVhsv(254, 74%, 37%)
CMYKcmyk(56.8%, 73.7%, 0%, 62.7%)
CIE-LABlab(15.45, 28.00, -39.02)
CIE-LCHlch(15.45, 48.03, 305.67°)
OKLaboklab(28.33% 0.0339 -0.1121)
OKLCHoklch(28.33% 0.117 286.8)
XYZxyz(3.3270, 1.9927, 11.0336)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29195F #4F5F19
analogous
#192C5F #29195F #4C195F
triadic
#29195F #5F2919 #195F29
tetradic
#29195F #5F192C #4F5F19 #195F4C
square
#29195F #5F192C #4F5F19 #195F4C
split-complementary
#29195F #5F4C19 #2C5F19
monochromatic
#0A0618 #140C2F #29195F #3E268F #5332C0

Accessibility & contrast

On white

15.02
#29195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#29195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29195F
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29195F#FFFFFF#000000##FFFFFF
##29195F1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#132B39
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #29195f;
/* rgb */ color: rgb(41, 25, 95);
/* oklch */ color: oklch(28.3% 0.117 286.8);
Tailwind
colors: {
  custom: {
    50: '#69578d',
    500: '#29195f',
    950: '#000000',
  },
}
SCSS
$custom: #29195f;
$custom-light: #69578d;
$custom-dark: #000000;
JSON
{
  "hex": "#29195f",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 253.714,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28328,
    "c": 0.11713,
    "h": 286.8
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#29195F
secondary
#81953F
accent
#E246BE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #29195F

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

Preview Lab → · Contrast checker → · Palette generator →

#29195F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva