#291E60#291E60

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

Color values

HEX#291E60
RGBrgb(41, 30, 96)
HSLhsl(250, 52%, 25%)
HSVhsv(250, 69%, 38%)
CMYKcmyk(57.3%, 68.7%, 0%, 62.4%)
CIE-LABlab(16.72, 25.14, -37.61)
CIE-LCHlch(16.72, 45.24, 303.76°)
OKLaboklab(29.27% 0.0285 -0.108)
OKLCHoklch(29.27% 0.112 284.8)
XYZxyz(3.4894, 2.2443, 11.3134)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E60 #55601E
analogous
#1E3460 #291E60 #4A1E60
triadic
#291E60 #60291E #1E6029
tetradic
#291E60 #601E34 #55601E #1E604A
square
#291E60 #601E34 #55601E #1E604A
split-complementary
#291E60 #604A1E #34601E
monochromatic
#0A0717 #150F31 #291E60 #3D2D8F #513BBD

Accessibility & contrast

On white

14.49
#291E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291E60
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E60#FFFFFF#000000##FFFFFF
##291E601.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#122E3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291e60;
/* rgb */ color: rgb(41, 30, 96);
/* oklch */ color: oklch(29.3% 0.112 284.8);
Tailwind
colors: {
  custom: {
    50: '#695a8e',
    500: '#291e60',
    950: '#000000',
  },
}
SCSS
$custom: #291e60;
$custom-light: #695a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#291e60",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 96
  },
  "hsl": {
    "h": 250,
    "s": 52.381,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29273,
    "c": 0.11167,
    "h": 284.8
  },
  "luminance": 0.02244
}

Semantic roles & 50–950 ramp

primary
#291E60
secondary
#889545
accent
#DC4CC4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #291E60

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

Preview Lab → · Contrast checker → · Palette generator →

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