#291357#291357

#291357 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.114 H 291.5°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#291357
RGBrgb(41, 19, 87)
HSLhsl(259, 64%, 21%)
HSVhsv(259, 78%, 34%)
CMYKcmyk(52.9%, 78.2%, 0%, 65.9%)
CIE-LABlab(13.38, 29.00, -37.03)
CIE-LCHlch(13.38, 47.03, 308.06°)
OKLaboklab(26.62% 0.0418 -0.1062)
OKLCHoklch(26.62% 0.114 291.5)
XYZxyz(2.8671, 1.6252, 9.1776)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291357 #415713
analogous
#131F57 #291357 #4B1357
triadic
#291357 #572913 #135729
tetradic
#291357 #57131F #415713 #13574B
square
#291357 #57131F #415713 #13574B
split-complementary
#291357 #574B13 #1F5713
monochromatic
#0C0519 #110825 #291357 #411E89 #5829BB

Accessibility & contrast

On white

15.85
#291357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#291357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291357
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291357#FFFFFF#000000##FFFFFF
##2913571.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002359
Deuteranopia (green-blind)
#002156
Tritanopia (blue-blind)
#1A2533
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #291357;
/* rgb */ color: rgb(41, 19, 87);
/* oklch */ color: oklch(26.6% 0.114 291.5);
Tailwind
colors: {
  custom: {
    50: '#685387',
    500: '#291357',
    950: '#000000',
  },
}
SCSS
$custom: #291357;
$custom-light: #685387;
$custom-dark: #000000;
JSON
{
  "hex": "#291357",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 259.412,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26617,
    "c": 0.11417,
    "h": 291.5
  },
  "luminance": 0.01625
}

Semantic roles & 50–950 ramp

primary
#291357
secondary
#738F36
accent
#E741B1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #291357

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

Preview Lab → · Contrast checker → · Palette generator →

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