#291468#291468

#291468 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.135 H 285.5°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#291468
RGBrgb(41, 20, 104)
HSLhsl(255, 68%, 24%)
HSVhsv(255, 81%, 41%)
CMYKcmyk(60.6%, 80.8%, 0%, 59.2%)
CIE-LABlab(15.33, 33.82, -45.16)
CIE-LCHlch(15.33, 56.42, 306.83°)
OKLaboklab(28.53% 0.0361 -0.1301)
OKLCHoklch(28.53% 0.135 285.5)
XYZxyz(3.6625, 1.9710, 13.2815)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291468 #536814
analogous
#142968 #291468 #531468
triadic
#291468 #682914 #146829
tetradic
#291468 #681429 #536814 #146853
square
#291468 #681429 #536814 #146853
split-complementary
#291468 #685314 #296814
monochromatic
#0A051A #150A35 #291468 #3D1E9B #5128CF

Accessibility & contrast

On white

15.06
#291468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#291468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291468
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291468#FFFFFF#000000##FFFFFF
##2914681.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002466
Tritanopia (blue-blind)
#082C3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #291468;
/* rgb */ color: rgb(41, 20, 104);
/* oklch */ color: oklch(28.5% 0.135 285.5);
Tailwind
colors: {
  custom: {
    50: '#6b5494',
    500: '#291468',
    950: '#000000',
  },
}
SCSS
$custom: #291468;
$custom-light: #6b5494;
$custom-dark: #000000;
JSON
{
  "hex": "#291468",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 255,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28526,
    "c": 0.13499,
    "h": 285.5
  },
  "luminance": 0.01971
}

Semantic roles & 50–950 ramp

primary
#291468
secondary
#859F39
accent
#EB3DBF
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291468

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

Preview Lab → · Contrast checker → · Palette generator →

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