#291360#291360

#291360 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.5% C 0.126 H 288.2°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#291360
RGBrgb(41, 19, 96)
HSLhsl(257, 67%, 23%)
HSVhsv(257, 80%, 38%)
CMYKcmyk(57.3%, 80.2%, 0%, 62.4%)
CIE-LABlab(14.30, 31.83, -41.58)
CIE-LCHlch(14.30, 52.36, 307.44°)
OKLaboklab(27.54% 0.0393 -0.1196)
OKLCHoklch(27.54% 0.126 288.2)
XYZxyz(3.2580, 1.7815, 11.2363)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291360 #4A6013
analogous
#132360 #291360 #501360
triadic
#291360 #602913 #136029
tetradic
#291360 #601323 #4A6013 #136050
square
#291360 #601323 #4A6013 #136050
split-complementary
#291360 #605013 #236013
monochromatic
#0B051A #13092D #291360 #3F1D93 #5527C6

Accessibility & contrast

On white

15.48
#291360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#291360 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291360
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291360#FFFFFF#000000##FFFFFF
##2913601.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#132838
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #291360;
/* rgb */ color: rgb(41, 19, 96);
/* oklch */ color: oklch(27.5% 0.126 288.2);
Tailwind
colors: {
  custom: {
    50: '#6a538e',
    500: '#291360',
    950: '#000000',
  },
}
SCSS
$custom: #291360;
$custom-light: #6a538e;
$custom-dark: #000000;
JSON
{
  "hex": "#291360",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 96
  },
  "hsl": {
    "h": 257.143,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27541,
    "c": 0.12587,
    "h": 288.2
  },
  "luminance": 0.01782
}

Semantic roles & 50–950 ramp

primary
#291360
secondary
#7C9837
accent
#EA3EB9
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #291360

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

Preview Lab → · Contrast checker → · Palette generator →

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