#291B6D#291B6D

#291B6D is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.0% C 0.134 H 282.6°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#291B6D
RGBrgb(41, 27, 109)
HSLhsl(250, 60%, 27%)
HSVhsv(250, 75%, 43%)
CMYKcmyk(62.4%, 75.2%, 0%, 57.3%)
CIE-LABlab(17.27, 31.47, -45.25)
CIE-LCHlch(17.27, 55.12, 304.81°)
OKLaboklab(30.05% 0.0292 -0.1304)
OKLCHoklch(30.05% 0.134 282.6)
XYZxyz(4.0658, 2.3591, 14.7061)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B6D #5F6D1B
analogous
#1B366D #291B6D #521B6D
triadic
#291B6D #6D291B #1B6D29
tetradic
#291B6D #6D1B36 #5F6D1B #1B6D52
square
#291B6D #6D1B36 #5F6D1B #1B6D52
split-complementary
#291B6D #6D521B #366D1B
monochromatic
#090619 #170F3C #291B6D #3B279E #4F35CD

Accessibility & contrast

On white

14.27
#291B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#291B6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B6D
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B6D#FFFFFF#000000##FFFFFF
##291B6D1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#00286B
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291b6d;
/* rgb */ color: rgb(41, 27, 109);
/* oklch */ color: oklch(30.0% 0.134 282.6);
Tailwind
colors: {
  custom: {
    50: '#6c5998',
    500: '#291b6d',
    950: '#000000',
  },
}
SCSS
$custom: #291b6d;
$custom-light: #6c5998;
$custom-dark: #000000;
JSON
{
  "hex": "#291b6d",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 109
  },
  "hsl": {
    "h": 250.244,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3005,
    "c": 0.13361,
    "h": 282.6
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#291B6D
secondary
#92A242
accent
#E344C8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #291B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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