#291365#291365

#291365 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.132 H 286.6°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#291365
RGBrgb(41, 19, 101)
HSLhsl(256, 68%, 24%)
HSVhsv(256, 81%, 40%)
CMYKcmyk(59.4%, 81.2%, 0%, 60.4%)
CIE-LABlab(14.83, 33.41, -44.02)
CIE-LCHlch(14.83, 55.26, 307.19°)
OKLaboklab(28.07% 0.0378 -0.1267)
OKLCHoklch(28.07% 0.132 286.6)
XYZxyz(3.4956, 1.8766, 12.4874)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291365 #4F6513
analogous
#132665 #291365 #521365
triadic
#291365 #652913 #136529
tetradic
#291365 #651326 #4F6513 #136552
square
#291365 #651326 #4F6513 #136552
split-complementary
#291365 #655213 #266513
monochromatic
#0A051A #140931 #291365 #3E1D99 #5326CC

Accessibility & contrast

On white

15.27
#291365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#291365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291365
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291365#FFFFFF#000000##FFFFFF
##2913651.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#0D2A3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #291365;
/* rgb */ color: rgb(41, 19, 101);
/* oklch */ color: oklch(28.1% 0.132 286.6);
Tailwind
colors: {
  custom: {
    50: '#6b5492',
    500: '#291365',
    950: '#000000',
  },
}
SCSS
$custom: #291365;
$custom-light: #6b5492;
$custom-dark: #000000;
JSON
{
  "hex": "#291365",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 256.098,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28073,
    "c": 0.13225,
    "h": 286.6
  },
  "luminance": 0.01877
}

Semantic roles & 50–950 ramp

primary
#291365
secondary
#819D37
accent
#EB3DBC
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291365

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

Preview Lab → · Contrast checker → · Palette generator →

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