#291A6C#291A6C

#291A6C is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.133 H 283.1°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#291A6C
RGBrgb(41, 26, 108)
HSLhsl(251, 61%, 26%)
HSVhsv(251, 76%, 42%)
CMYKcmyk(62%, 75.9%, 0%, 57.6%)
CIE-LABlab(16.95, 31.73, -45.12)
CIE-LCHlch(16.95, 55.16, 305.11°)
OKLaboklab(29.8% 0.0302 -0.13)
OKLCHoklch(29.8% 0.133 283.1)
XYZxyz(3.9898, 2.2927, 14.4167)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A6C #5D6C1A
analogous
#1A346C #291A6C #521A6C
triadic
#291A6C #6C291A #1A6C29
tetradic
#291A6C #6C1A34 #5D6C1A #1A6C52
square
#291A6C #6C1A34 #5D6C1A #1A6C52
split-complementary
#291A6C #6C521A #346C1A
monochromatic
#090619 #160E3B #291A6C #3C269D #4F33CE

Accessibility & contrast

On white

14.40
#291A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#291A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A6C
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A6C#FFFFFF#000000##FFFFFF
##291A6C1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#00276A
Tritanopia (blue-blind)
#013041
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291a6c;
/* rgb */ color: rgb(41, 26, 108);
/* oklch */ color: oklch(29.8% 0.133 283.1);
Tailwind
colors: {
  custom: {
    50: '#6c5897',
    500: '#291a6c',
    950: '#000000',
  },
}
SCSS
$custom: #291a6c;
$custom-light: #6c5897;
$custom-dark: #000000;
JSON
{
  "hex": "#291a6c",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 108
  },
  "hsl": {
    "h": 250.976,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29795,
    "c": 0.13346,
    "h": 283.1
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#291A6C
secondary
#90A141
accent
#E443C7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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