#291B6E#291B6E

#291B6E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.135 H 282.4°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#291B6E
RGBrgb(41, 27, 110)
HSLhsl(250, 61%, 27%)
HSVhsv(250, 75%, 43%)
CMYKcmyk(62.7%, 75.5%, 0%, 56.9%)
CIE-LABlab(17.37, 31.80, -45.74)
CIE-LCHlch(17.37, 55.71, 304.81°)
OKLaboklab(30.15% 0.0289 -0.1318)
OKLCHoklch(30.15% 0.135 282.4)
XYZxyz(4.1200, 2.3808, 14.9913)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B6E #606E1B
analogous
#1B376E #291B6E #531B6E
triadic
#291B6E #6E291B #1B6E29
tetradic
#291B6E #6E1B37 #606E1B #1B6E53
square
#291B6E #6E1B37 #606E1B #1B6E53
split-complementary
#291B6E #6E531B #376E1B
monochromatic
#090619 #170F3D #291B6E #3B279F #4F36CE

Accessibility & contrast

On white

14.23
#291B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#291B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B6E
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B6E#FFFFFF#000000##FFFFFF
##291B6E1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #291b6e;
/* rgb */ color: rgb(41, 27, 110);
/* oklch */ color: oklch(30.2% 0.135 282.4);
Tailwind
colors: {
  custom: {
    50: '#6c5998',
    500: '#291b6e',
    950: '#000000',
  },
}
SCSS
$custom: #291b6e;
$custom-light: #6c5998;
$custom-dark: #000000;
JSON
{
  "hex": "#291b6e",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 250.12,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30153,
    "c": 0.13495,
    "h": 282.4
  },
  "luminance": 0.02381
}

Semantic roles & 50–950 ramp

primary
#291B6E
secondary
#93A342
accent
#E444C9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #291B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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