#291C68#291C68

#291C68 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.7% C 0.126 H 283.5°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#291C68
RGBrgb(41, 28, 104)
HSLhsl(250, 58%, 26%)
HSVhsv(250, 73%, 41%)
CMYKcmyk(60.6%, 73.1%, 0%, 59.2%)
CIE-LABlab(16.99, 29.16, -42.44)
CIE-LCHlch(16.99, 51.49, 304.50°)
OKLaboklab(29.7% 0.0293 -0.1221)
OKLCHoklch(29.7% 0.126 283.5)
XYZxyz(3.8276, 2.3012, 13.3365)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C68 #5B681C
analogous
#1C3568 #291C68 #4F1C68
triadic
#291C68 #68291C #1C6829
tetradic
#291C68 #681C35 #5B681C #1C684F
square
#291C68 #681C35 #5B681C #1C684F
split-complementary
#291C68 #684F1C #35681C
monochromatic
#0A0618 #160F38 #291C68 #3C2998 #4F36C8

Accessibility & contrast

On white

14.38
#291C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#291C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C68
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C68#FFFFFF#000000##FFFFFF
##291C681.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#07303F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291c68;
/* rgb */ color: rgb(41, 28, 104);
/* oklch */ color: oklch(29.7% 0.126 283.5);
Tailwind
colors: {
  custom: {
    50: '#6b5994',
    500: '#291c68',
    950: '#000000',
  },
}
SCSS
$custom: #291c68;
$custom-light: #6b5994;
$custom-dark: #000000;
JSON
{
  "hex": "#291c68",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 250.263,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29702,
    "c": 0.1256,
    "h": 283.5
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

primary
#291C68
secondary
#8E9D43
accent
#E147C7
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291C68

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

Preview Lab → · Contrast checker → · Palette generator →

#291C68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva