#291663#291663

#291663 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.126 H 286.5°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#291663
RGBrgb(41, 22, 99)
HSLhsl(255, 64%, 24%)
HSVhsv(255, 78%, 39%)
CMYKcmyk(58.6%, 77.8%, 0%, 61.2%)
CIE-LABlab(15.20, 31.11, -42.08)
CIE-LCHlch(15.20, 52.33, 306.47°)
OKLaboklab(28.27% 0.0359 -0.1211)
OKLCHoklch(28.27% 0.126 286.5)
XYZxyz(3.4528, 1.9459, 11.9956)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291663 #506316
analogous
#162963 #291663 #4F1663
triadic
#291663 #632916 #166329
tetradic
#291663 #631629 #506316 #16634F
square
#291663 #631629 #506316 #16634F
split-complementary
#291663 #634F16 #296316
monochromatic
#0A0619 #140B31 #291663 #3E2195 #522CC7

Accessibility & contrast

On white

15.12
#291663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#291663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291663
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291663#FFFFFF#000000##FFFFFF
##2916631.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002462
Tritanopia (blue-blind)
#0F2B3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #291663;
/* rgb */ color: rgb(41, 22, 99);
/* oklch */ color: oklch(28.3% 0.126 286.5);
Tailwind
colors: {
  custom: {
    50: '#6a5590',
    500: '#291663',
    950: '#000000',
  },
}
SCSS
$custom: #291663;
$custom-light: #6a5590;
$custom-dark: #000000;
JSON
{
  "hex": "#291663",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 254.805,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28273,
    "c": 0.12628,
    "h": 286.5
  },
  "luminance": 0.01946
}

Semantic roles & 50–950 ramp

primary
#291663
secondary
#829A3B
accent
#E741BE
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #291663

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

Preview Lab → · Contrast checker → · Palette generator →

#291663 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva