#291463#291463

#291463 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.129 H 287.0°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#291463
RGBrgb(41, 20, 99)
HSLhsl(256, 66%, 23%)
HSVhsv(256, 80%, 39%)
CMYKcmyk(58.6%, 79.8%, 0%, 61.2%)
CIE-LABlab(14.80, 32.24, -42.74)
CIE-LCHlch(14.80, 53.53, 307.03°)
OKLaboklab(27.99% 0.0376 -0.123)
OKLCHoklch(27.99% 0.129 287)
XYZxyz(3.4161, 1.8724, 11.9834)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291463 #4E6314
analogous
#142663 #291463 #501463
triadic
#291463 #632914 #146329
tetradic
#291463 #631426 #4E6314 #146350
square
#291463 #631426 #4E6314 #146350
split-complementary
#291463 #635014 #266314
monochromatic
#0B0519 #140A30 #291463 #3E1E96 #5329C9

Accessibility & contrast

On white

15.28
#291463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#291463 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291463
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291463#FFFFFF#000000##FFFFFF
##2914631.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002765
Deuteranopia (green-blind)
#002362
Tritanopia (blue-blind)
#102A3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #291463;
/* rgb */ color: rgb(41, 20, 99);
/* oklch */ color: oklch(28.0% 0.129 287.0);
Tailwind
colors: {
  custom: {
    50: '#6a5490',
    500: '#291463',
    950: '#000000',
  },
}
SCSS
$custom: #291463;
$custom-light: #6a5490;
$custom-dark: #000000;
JSON
{
  "hex": "#291463",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 99
  },
  "hsl": {
    "h": 255.949,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27993,
    "c": 0.1286,
    "h": 287
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#291463
secondary
#809A38
accent
#E93EBC
background
#F6F4F8
surface
#ECE8F0
border
#C7C4CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #291463

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

Preview Lab → · Contrast checker → · Palette generator →

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