#291A62#291A62

#291A62 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.120 H 285.6°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#291A62
RGBrgb(41, 26, 98)
HSLhsl(253, 58%, 24%)
HSVhsv(253, 73%, 38%)
CMYKcmyk(58.2%, 73.5%, 0%, 61.6%)
CIE-LABlab(15.96, 28.38, -40.17)
CIE-LCHlch(15.96, 49.19, 305.24°)
OKLaboklab(28.78% 0.0323 -0.1155)
OKLCHoklch(28.78% 0.12 285.6)
XYZxyz(3.4878, 2.0919, 11.7729)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A62 #53621A
analogous
#1A2F62 #291A62 #4D1A62
triadic
#291A62 #62291A #1A6229
tetradic
#291A62 #621A2F #53621A #1A624D
square
#291A62 #621A2F #53621A #1A624D
split-complementary
#291A62 #624D1A #2F621A
monochromatic
#0A0618 #150D32 #291A62 #3D2792 #5134C3

Accessibility & contrast

On white

14.81
#291A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#291A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A62
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A62#FFFFFF#000000##FFFFFF
##291A621.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A64
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#102D3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #291a62;
/* rgb */ color: rgb(41, 26, 98);
/* oklch */ color: oklch(28.8% 0.120 285.6);
Tailwind
colors: {
  custom: {
    50: '#6a588f',
    500: '#291a62',
    950: '#000000',
  },
}
SCSS
$custom: #291a62;
$custom-light: #6a588f;
$custom-dark: #000000;
JSON
{
  "hex": "#291a62",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 98
  },
  "hsl": {
    "h": 252.5,
    "s": 58.065,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28784,
    "c": 0.11994,
    "h": 285.6
  },
  "luminance": 0.02092
}

Semantic roles & 50–950 ramp

primary
#291A62
secondary
#859840
accent
#E147C1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #291A62

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

Preview Lab → · Contrast checker → · Palette generator →

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