#291B68#291B68

#291B68 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.5% C 0.127 H 283.8°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#291B68
RGBrgb(41, 27, 104)
HSLhsl(251, 59%, 26%)
HSVhsv(251, 74%, 41%)
CMYKcmyk(60.6%, 74%, 0%, 59.2%)
CIE-LABlab(16.77, 29.78, -42.81)
CIE-LCHlch(16.77, 52.15, 304.83°)
OKLaboklab(29.54% 0.0302 -0.1232)
OKLCHoklch(29.54% 0.127 283.8)
XYZxyz(3.8043, 2.2545, 13.3287)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B68 #5A681B
analogous
#1B3368 #291B68 #4F1B68
triadic
#291B68 #68291B #1B6829
tetradic
#291B68 #681B33 #5A681B #1B684F
square
#291B68 #681B33 #5A681B #1B684F
split-complementary
#291B68 #684F1B #33681B
monochromatic
#0A0618 #160E37 #291B68 #3C2899 #4F34C9

Accessibility & contrast

On white

14.47
#291B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291B68
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B68#FFFFFF#000000##FFFFFF
##291B681.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#072F3F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291b68;
/* rgb */ color: rgb(41, 27, 104);
/* oklch */ color: oklch(29.5% 0.127 283.8);
Tailwind
colors: {
  custom: {
    50: '#6b5994',
    500: '#291b68',
    950: '#000000',
  },
}
SCSS
$custom: #291b68;
$custom-light: #6b5994;
$custom-dark: #000000;
JSON
{
  "hex": "#291b68",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 250.909,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29542,
    "c": 0.12687,
    "h": 283.8
  },
  "luminance": 0.02255
}

Semantic roles & 50–950 ramp

primary
#291B68
secondary
#8D9D42
accent
#E246C6
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291B68

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

Preview Lab → · Contrast checker → · Palette generator →

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