#291680#291680

#291680 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.163 H 279.6°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#291680
RGBrgb(41, 22, 128)
HSLhsl(251, 71%, 29%)
HSVhsv(251, 83%, 50%)
CMYKcmyk(68%, 82.8%, 0%, 49.8%)
CIE-LABlab(18.38, 40.36, -55.64)
CIE-LCHlch(18.38, 68.73, 305.96°)
OKLaboklab(31.45% 0.0273 -0.1606)
OKLCHoklch(31.45% 0.163 279.6)
XYZxyz(5.0964, 2.6033, 20.6518)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291680 #6D8016
analogous
#163880 #291680 #5E1680
triadic
#291680 #802916 #168029
tetradic
#291680 #801638 #6D8016 #16805E
square
#291680 #801638 #6D8016 #16805E
split-complementary
#291680 #805E16 #388016
monochromatic
#08041A #180D4C #291680 #3A1FB4 #5234DC

Accessibility & contrast

On white

13.81
#291680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#291680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291680
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291680#FFFFFF#000000##FFFFFF
##2916801.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#00297E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #291680;
/* rgb */ color: rgb(41, 22, 128);
/* oklch */ color: oklch(31.4% 0.163 279.6);
Tailwind
colors: {
  custom: {
    50: '#7157a6',
    500: '#291680',
    950: '#000000',
  },
}
SCSS
$custom: #291680;
$custom-light: #7157a6;
$custom-dark: #000000;
JSON
{
  "hex": "#291680",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 250.755,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31448,
    "c": 0.16294,
    "h": 279.6
  },
  "luminance": 0.02604
}

Semantic roles & 50–950 ramp

primary
#291680
secondary
#9FB53D
accent
#ED3ACD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #291680

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

Preview Lab → · Contrast checker → · Palette generator →

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