#291A6E#291A6E

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

Color values

HEX#291A6E
RGBrgb(41, 26, 110)
HSLhsl(251, 62%, 27%)
HSVhsv(251, 76%, 43%)
CMYKcmyk(62.7%, 76.4%, 0%, 56.9%)
CIE-LABlab(17.16, 32.39, -46.09)
CIE-LCHlch(17.16, 56.33, 305.10°)
OKLaboklab(30% 0.0297 -0.1328)
OKLCHoklch(30% 0.136 282.6)
XYZxyz(4.0974, 2.3357, 14.9837)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A6E #5F6E1A
analogous
#1A356E #291A6E #531A6E
triadic
#291A6E #6E291A #1A6E29
tetradic
#291A6E #6E1A35 #5F6E1A #1A6E53
square
#291A6E #6E1A35 #5F6E1A #1A6E53
split-complementary
#291A6E #6E531A #356E1A
monochromatic
#090619 #170E3D #291A6E #3B26A0 #4F34CF

Accessibility & contrast

On white

14.31
#291A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291A6E
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A6E#FFFFFF#000000##FFFFFF
##291A6E1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291a6e;
/* rgb */ color: rgb(41, 26, 110);
/* oklch */ color: oklch(30.0% 0.136 282.6);
Tailwind
colors: {
  custom: {
    50: '#6c5898',
    500: '#291a6e',
    950: '#000000',
  },
}
SCSS
$custom: #291a6e;
$custom-light: #6c5898;
$custom-dark: #000000;
JSON
{
  "hex": "#291a6e",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 250.714,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30003,
    "c": 0.13611,
    "h": 282.6
  },
  "luminance": 0.02336
}

Semantic roles & 50–950 ramp

primary
#291A6E
secondary
#92A341
accent
#E543C8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #291A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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