#291675#291675

#291675 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.149 H 281.9°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#291675
RGBrgb(41, 22, 117)
HSLhsl(252, 68%, 27%)
HSVhsv(252, 81%, 46%)
CMYKcmyk(65%, 81.2%, 0%, 54.1%)
CIE-LABlab(17.13, 36.89, -50.67)
CIE-LCHlch(17.13, 62.67, 306.06°)
OKLaboklab(30.21% 0.0307 -0.1462)
OKLCHoklch(30.21% 0.149 281.9)
XYZxyz(4.4112, 2.3293, 17.0433)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291675 #627516
analogous
#163375 #291675 #591675
triadic
#291675 #752916 #167529
tetradic
#291675 #751633 #627516 #167559
square
#291675 #751633 #627516 #167559
split-complementary
#291675 #755916 #337516
monochromatic
#09051A #170C41 #291675 #3B20A9 #502ED8

Accessibility & contrast

On white

14.32
#291675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#291675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291675
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291675#FFFFFF#000000##FFFFFF
##2916751.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002773
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291675;
/* rgb */ color: rgb(41, 22, 117);
/* oklch */ color: oklch(30.2% 0.149 281.9);
Tailwind
colors: {
  custom: {
    50: '#6e569e',
    500: '#291675',
    950: '#000000',
  },
}
SCSS
$custom: #291675;
$custom-light: #6e569e;
$custom-dark: #000000;
JSON
{
  "hex": "#291675",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 252,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30207,
    "c": 0.14937,
    "h": 281.9
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#291675
secondary
#95AB3C
accent
#EB3DC8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291675

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

Preview Lab → · Contrast checker → · Palette generator →

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