#291D63#291D63

#291D63 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.4% C 0.117 H 284.4°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#291D63
RGBrgb(41, 29, 99)
HSLhsl(250, 55%, 25%)
HSVhsv(250, 71%, 39%)
CMYKcmyk(58.6%, 70.7%, 0%, 61.2%)
CIE-LABlab(16.75, 26.83, -39.54)
CIE-LCHlch(16.75, 47.78, 304.15°)
OKLaboklab(29.38% 0.0291 -0.1137)
OKLCHoklch(29.38% 0.117 284.4)
XYZxyz(3.6053, 2.2508, 12.0464)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D63 #57631D
analogous
#1D3463 #291D63 #4C1D63
triadic
#291D63 #63291D #1D6329
tetradic
#291D63 #631D34 #57631D #1D634C
square
#291D63 #631D34 #57631D #1D634C
split-complementary
#291D63 #634C1D #34631D
monochromatic
#0A0718 #150F34 #291D63 #3D2B92 #5039C2

Accessibility & contrast

On white

14.48
#291D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#291D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D63
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D63#FFFFFF#000000##FFFFFF
##291D631.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291d63;
/* rgb */ color: rgb(41, 29, 99);
/* oklch */ color: oklch(29.4% 0.117 284.4);
Tailwind
colors: {
  custom: {
    50: '#6a5a90',
    500: '#291d63',
    950: '#000000',
  },
}
SCSS
$custom: #291d63;
$custom-light: #6a5a90;
$custom-dark: #000000;
JSON
{
  "hex": "#291d63",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 250.286,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29381,
    "c": 0.11734,
    "h": 284.4
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#291D63
secondary
#8A9844
accent
#DE4AC5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040D
muted
#7A797D

Preview Lab

Preview with #291D63

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

Preview Lab → · Contrast checker → · Palette generator →

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