#291C63#291C63

#291C63 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.119 H 284.7°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#291C63
RGBrgb(41, 28, 99)
HSLhsl(251, 56%, 25%)
HSVhsv(251, 72%, 39%)
CMYKcmyk(58.6%, 71.7%, 0%, 61.2%)
CIE-LABlab(16.52, 27.47, -39.93)
CIE-LCHlch(16.52, 48.46, 304.52°)
OKLaboklab(29.21% 0.0302 -0.1148)
OKLCHoklch(29.21% 0.119 284.7)
XYZxyz(3.5812, 2.2026, 12.0384)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C63 #56631C
analogous
#1C3263 #291C63 #4D1C63
triadic
#291C63 #63291C #1C6329
tetradic
#291C63 #631C32 #56631C #1C634D
square
#291C63 #631C32 #56631C #1C634D
split-complementary
#291C63 #634D1C #32631C
monochromatic
#0A0718 #150F33 #291C63 #3D2993 #5137C2

Accessibility & contrast

On white

14.58
#291C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#291C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C63
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C63#FFFFFF#000000##FFFFFF
##291C631.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#0F2E3D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291c63;
/* rgb */ color: rgb(41, 28, 99);
/* oklch */ color: oklch(29.2% 0.119 284.7);
Tailwind
colors: {
  custom: {
    50: '#6a5990',
    500: '#291c63',
    950: '#000000',
  },
}
SCSS
$custom: #291c63;
$custom-light: #6a5990;
$custom-dark: #000000;
JSON
{
  "hex": "#291c63",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 99
  },
  "hsl": {
    "h": 250.986,
    "s": 55.906,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29212,
    "c": 0.11869,
    "h": 284.7
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#291C63
secondary
#899843
accent
#DF49C4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #291C63

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

Preview Lab → · Contrast checker → · Palette generator →

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