#291775#291775

#291775 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.148 H 281.7°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#291775
RGBrgb(41, 23, 117)
HSLhsl(251, 67%, 27%)
HSVhsv(251, 80%, 46%)
CMYKcmyk(65%, 80.3%, 0%, 54.1%)
CIE-LABlab(17.31, 36.36, -50.37)
CIE-LCHlch(17.31, 62.12, 305.83°)
OKLaboklab(30.34% 0.0301 -0.1453)
OKLCHoklch(30.34% 0.148 281.7)
XYZxyz(4.4307, 2.3682, 17.0498)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291775 #637517
analogous
#173475 #291775 #581775
triadic
#291775 #752917 #177529
tetradic
#291775 #751734 #637517 #177558
square
#291775 #751734 #637517 #177558
split-complementary
#291775 #755817 #347517
monochromatic
#09051A #170D42 #291775 #3B21A8 #5030D6

Accessibility & contrast

On white

14.25
#291775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291775
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291775#FFFFFF#000000##FFFFFF
##2917751.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291775;
/* rgb */ color: rgb(41, 23, 117);
/* oklch */ color: oklch(30.3% 0.148 281.7);
Tailwind
colors: {
  custom: {
    50: '#6e579e',
    500: '#291775',
    950: '#000000',
  },
}
SCSS
$custom: #291775;
$custom-light: #6e579e;
$custom-dark: #000000;
JSON
{
  "hex": "#291775",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 251.489,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30336,
    "c": 0.14837,
    "h": 281.7
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#291775
secondary
#96AA3D
accent
#EA3EC9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291775

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

Preview Lab → · Contrast checker → · Palette generator →

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