#291D64#291D64

#291D64 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.5% C 0.119 H 284.1°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#291D64
RGBrgb(41, 29, 100)
HSLhsl(250, 55%, 25%)
HSVhsv(250, 71%, 39%)
CMYKcmyk(59%, 71%, 0%, 60.8%)
CIE-LABlab(16.84, 27.17, -40.05)
CIE-LCHlch(16.84, 48.40, 304.15°)
OKLaboklab(29.48% 0.029 -0.1151)
OKLCHoklch(29.48% 0.119 284.1)
XYZxyz(3.6534, 2.2700, 12.2998)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D64 #58641D
analogous
#1D3464 #291D64 #4C1D64
triadic
#291D64 #64291D #1D6429
tetradic
#291D64 #641D34 #58641D #1D644C
square
#291D64 #641D34 #58641D #1D644C
split-complementary
#291D64 #644C1D #34641D
monochromatic
#0A0718 #160F35 #291D64 #3C2B93 #5039C3

Accessibility & contrast

On white

14.44
#291D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291D64
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D64#FFFFFF#000000##FFFFFF
##291D641.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#0D2F3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291d64;
/* rgb */ color: rgb(41, 29, 100);
/* oklch */ color: oklch(29.5% 0.119 284.1);
Tailwind
colors: {
  custom: {
    50: '#6a5a91',
    500: '#291d64',
    950: '#000000',
  },
}
SCSS
$custom: #291d64;
$custom-light: #6a5a91;
$custom-dark: #000000;
JSON
{
  "hex": "#291d64",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 250.141,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29477,
    "c": 0.11874,
    "h": 284.1
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#291D64
secondary
#8B9944
accent
#DE49C5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #291D64

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

Preview Lab → · Contrast checker → · Palette generator →

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