#291368#291368

#291368 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.136 H 285.7°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#291368
RGBrgb(41, 19, 104)
HSLhsl(256, 69%, 24%)
HSVhsv(256, 82%, 41%)
CMYKcmyk(60.6%, 81.7%, 0%, 59.2%)
CIE-LABlab(15.15, 34.35, -45.47)
CIE-LCHlch(15.15, 56.98, 307.07°)
OKLaboklab(28.4% 0.0369 -0.1309)
OKLCHoklch(28.4% 0.136 285.7)
XYZxyz(3.6453, 1.9364, 13.2757)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291368 #526813
analogous
#132868 #291368 #541368
triadic
#291368 #682913 #136829
tetradic
#291368 #681328 #526813 #136854
square
#291368 #681328 #526813 #136854
split-complementary
#291368 #685413 #286813
monochromatic
#0A051A #150A34 #291368 #3D1C9C #5226CF

Accessibility & contrast

On white

15.14
#291368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291368
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291368#FFFFFF#000000##FFFFFF
##2913681.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286A
Deuteranopia (green-blind)
#002366
Tritanopia (blue-blind)
#092C3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #291368;
/* rgb */ color: rgb(41, 19, 104);
/* oklch */ color: oklch(28.4% 0.136 285.7);
Tailwind
colors: {
  custom: {
    50: '#6c5494',
    500: '#291368',
    950: '#000000',
  },
}
SCSS
$custom: #291368;
$custom-light: #6c5494;
$custom-dark: #000000;
JSON
{
  "hex": "#291368",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 255.529,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28397,
    "c": 0.13604,
    "h": 285.7
  },
  "luminance": 0.01937
}

Semantic roles & 50–950 ramp

primary
#291368
secondary
#849F37
accent
#EC3CBE
background
#F6F4F9
surface
#ECE8F1
border
#C7C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291368

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

Preview Lab → · Contrast checker → · Palette generator →

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