#291665#291665

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

Color values

HEX#291665
RGBrgb(41, 22, 101)
HSLhsl(254, 64%, 24%)
HSVhsv(254, 78%, 40%)
CMYKcmyk(59.4%, 78.2%, 0%, 60.4%)
CIE-LABlab(15.41, 31.76, -43.07)
CIE-LCHlch(15.41, 53.51, 306.40°)
OKLaboklab(28.48% 0.0354 -0.124)
OKLCHoklch(28.48% 0.129 285.9)
XYZxyz(3.5496, 1.9846, 12.5054)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291665 #526516
analogous
#162B65 #291665 #511665
triadic
#291665 #652916 #166529
tetradic
#291665 #65162B #526516 #166551
square
#291665 #65162B #526516 #166551
split-complementary
#291665 #655116 #2B6516
monochromatic
#0A0519 #150B33 #291665 #3D2197 #522CCA

Accessibility & contrast

On white

15.03
#291665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#291665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291665
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291665#FFFFFF#000000##FFFFFF
##2916651.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002464
Tritanopia (blue-blind)
#0D2C3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #291665;
/* rgb */ color: rgb(41, 22, 101);
/* oklch */ color: oklch(28.5% 0.129 285.9);
Tailwind
colors: {
  custom: {
    50: '#6b5592',
    500: '#291665',
    950: '#000000',
  },
}
SCSS
$custom: #291665;
$custom-light: #6b5592;
$custom-dark: #000000;
JSON
{
  "hex": "#291665",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 254.43,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28481,
    "c": 0.1289,
    "h": 285.9
  },
  "luminance": 0.01985
}

Semantic roles & 50–950 ramp

primary
#291665
secondary
#849C3B
accent
#E741BF
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291665

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

Preview Lab → · Contrast checker → · Palette generator →

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