#291A70#291A70

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

Color values

HEX#291A70
RGBrgb(41, 26, 112)
HSLhsl(250, 62%, 27%)
HSVhsv(250, 77%, 44%)
CMYKcmyk(63.4%, 76.8%, 0%, 56.1%)
CIE-LABlab(17.37, 33.06, -47.04)
CIE-LCHlch(17.37, 57.50, 305.09°)
OKLaboklab(30.21% 0.0293 -0.1356)
OKLCHoklch(30.21% 0.139 282.2)
XYZxyz(4.2076, 2.3798, 15.5637)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A70 #61701A
analogous
#1A3670 #291A70 #541A70
triadic
#291A70 #70291A #1A7029
tetradic
#291A70 #701A36 #61701A #1A7054
square
#291A70 #701A36 #61701A #1A7054
split-complementary
#291A70 #70541A #36701A
monochromatic
#090619 #170E3E #291A70 #3B26A2 #5034D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##291A70#FFFFFF#000000##FFFFFF
##291A701.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)
#002D73
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #291a70;
/* rgb */ color: rgb(41, 26, 112);
/* oklch */ color: oklch(30.2% 0.139 282.2);
Tailwind
colors: {
  custom: {
    50: '#6d589a',
    500: '#291a70',
    950: '#000000',
  },
}
SCSS
$custom: #291a70;
$custom-light: #6d589a;
$custom-dark: #000000;
JSON
{
  "hex": "#291a70",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 250.465,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30212,
    "c": 0.13874,
    "h": 282.2
  },
  "luminance": 0.0238
}

Semantic roles & 50–950 ramp

primary
#291A70
secondary
#94A541
accent
#E542C9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #291A70

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

Preview Lab → · Contrast checker → · Palette generator →

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