#291863#291863

#291863 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.124 H 286.0°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#291863
RGBrgb(41, 24, 99)
HSLhsl(254, 61%, 24%)
HSVhsv(254, 76%, 39%)
CMYKcmyk(58.6%, 75.8%, 0%, 61.2%)
CIE-LABlab(15.62, 29.94, -41.40)
CIE-LCHlch(15.62, 51.09, 305.87°)
OKLaboklab(28.57% 0.034 -0.1191)
OKLCHoklch(28.57% 0.124 286)
XYZxyz(3.4925, 2.0253, 12.0089)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291863 #526318
analogous
#182D63 #291863 #4F1863
triadic
#291863 #632918 #186329
tetradic
#291863 #63182D #526318 #18634F
square
#291863 #63182D #526318 #18634F
split-complementary
#291863 #634F18 #2D6318
monochromatic
#0A0619 #150C32 #291863 #3D2494 #5230C6

Accessibility & contrast

On white

14.94
#291863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#291863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291863
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291863#FFFFFF#000000##FFFFFF
##2918631.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002562
Tritanopia (blue-blind)
#0F2C3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #291863;
/* rgb */ color: rgb(41, 24, 99);
/* oklch */ color: oklch(28.6% 0.124 286.0);
Tailwind
colors: {
  custom: {
    50: '#6a5690',
    500: '#291863',
    950: '#000000',
  },
}
SCSS
$custom: #291863;
$custom-light: #6a5690;
$custom-dark: #000000;
JSON
{
  "hex": "#291863",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 253.6,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.2857,
    "c": 0.12385,
    "h": 286
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#291863
secondary
#84993E
accent
#E444C0
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #291863

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

Preview Lab → · Contrast checker → · Palette generator →

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