#291D62#291D62

#291D62 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.116 H 284.6°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#291D62
RGBrgb(41, 29, 98)
HSLhsl(250, 54%, 25%)
HSVhsv(250, 70%, 38%)
CMYKcmyk(58.2%, 70.4%, 0%, 61.6%)
CIE-LABlab(16.66, 26.48, -39.03)
CIE-LCHlch(16.66, 47.17, 304.16°)
OKLaboklab(29.29% 0.0293 -0.1122)
OKLCHoklch(29.29% 0.116 284.6)
XYZxyz(3.5578, 2.2318, 11.7962)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D62 #56621D
analogous
#1D3362 #291D62 #4C1D62
triadic
#291D62 #62291D #1D6229
tetradic
#291D62 #621D33 #56621D #1D624C
square
#291D62 #621D33 #56621D #1D624C
split-complementary
#291D62 #624C1D #33621D
monochromatic
#0A0718 #150F33 #291D62 #3D2B91 #5139C0

Accessibility & contrast

On white

14.52
#291D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291D62
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D62#FFFFFF#000000##FFFFFF
##291D621.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002761
Tritanopia (blue-blind)
#102E3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291d62;
/* rgb */ color: rgb(41, 29, 98);
/* oklch */ color: oklch(29.3% 0.116 284.6);
Tailwind
colors: {
  custom: {
    50: '#695a8f',
    500: '#291d62',
    950: '#000000',
  },
}
SCSS
$custom: #291d62;
$custom-light: #695a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#291d62",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 98
  },
  "hsl": {
    "h": 250.435,
    "s": 54.331,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29286,
    "c": 0.11592,
    "h": 284.6
  },
  "luminance": 0.02232
}

Semantic roles & 50–950 ramp

primary
#291D62
secondary
#899744
accent
#DE4AC4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #291D62

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

Preview Lab → · Contrast checker → · Palette generator →

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