#291358#291358

#291358 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.115 H 291.1°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#291358
RGBrgb(41, 19, 88)
HSLhsl(259, 64%, 21%)
HSVhsv(259, 78%, 35%)
CMYKcmyk(53.4%, 78.4%, 0%, 65.5%)
CIE-LABlab(13.48, 29.31, -37.55)
CIE-LCHlch(13.48, 47.63, 307.98°)
OKLaboklab(26.72% 0.0415 -0.1078)
OKLCHoklch(26.72% 0.115 291.1)
XYZxyz(2.9083, 1.6416, 9.3943)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291358 #425813
analogous
#131F58 #291358 #4B1358
triadic
#291358 #582913 #135829
tetradic
#291358 #58131F #425813 #13584B
square
#291358 #58131F #425813 #13584B
split-complementary
#291358 #584B13 #1F5813
monochromatic
#0C0519 #120826 #291358 #401E8A #5829BD

Accessibility & contrast

On white

15.81
#291358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291358
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291358#FFFFFF#000000##FFFFFF
##2913581.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245A
Deuteranopia (green-blind)
#002157
Tritanopia (blue-blind)
#192534
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #291358;
/* rgb */ color: rgb(41, 19, 88);
/* oklch */ color: oklch(26.7% 0.115 291.1);
Tailwind
colors: {
  custom: {
    50: '#695388',
    500: '#291358',
    950: '#000000',
  },
}
SCSS
$custom: #291358;
$custom-light: #695388;
$custom-dark: #000000;
JSON
{
  "hex": "#291358",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 259.13,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26718,
    "c": 0.11549,
    "h": 291.1
  },
  "luminance": 0.01642
}

Semantic roles & 50–950 ramp

primary
#291358
secondary
#749037
accent
#E740B2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #291358

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

Preview Lab → · Contrast checker → · Palette generator →

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