#291570#291570

#291570 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.144 H 283.2°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#291570
RGBrgb(41, 21, 112)
HSLhsl(253, 68%, 26%)
HSVhsv(253, 81%, 44%)
CMYKcmyk(63.4%, 81.2%, 0%, 56.1%)
CIE-LABlab(16.39, 35.83, -48.65)
CIE-LCHlch(16.39, 60.42, 306.37°)
OKLaboklab(29.53% 0.0329 -0.1403)
OKLCHoklch(29.53% 0.144 283.2)
XYZxyz(4.1063, 2.1773, 15.5300)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291570 #5C7015
analogous
#152E70 #291570 #561570
triadic
#291570 #702915 #157029
tetradic
#291570 #70152E #5C7015 #157056
square
#291570 #70152E #5C7015 #157056
split-complementary
#291570 #705615 #2E7015
monochromatic
#09051A #160B3C #291570 #3C1FA4 #4F29D7

Accessibility & contrast

On white

14.63
#291570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#291570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291570
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291570#FFFFFF#000000##FFFFFF
##2915701.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00256E
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291570;
/* rgb */ color: rgb(41, 21, 112);
/* oklch */ color: oklch(29.5% 0.144 283.2);
Tailwind
colors: {
  custom: {
    50: '#6d559a',
    500: '#291570',
    950: '#000000',
  },
}
SCSS
$custom: #291570;
$custom-light: #6d559a;
$custom-dark: #000000;
JSON
{
  "hex": "#291570",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 253.187,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29528,
    "c": 0.14407,
    "h": 283.2
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#291570
secondary
#8FA63B
accent
#EB3DC5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291570

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

Preview Lab → · Contrast checker → · Palette generator →

#291570 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva