#291065#291065

#291065 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.135 H 287.2°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#291065
RGBrgb(41, 16, 101)
HSLhsl(258, 73%, 23%)
HSVhsv(258, 84%, 40%)
CMYKcmyk(59.4%, 84.2%, 0%, 60.4%)
CIE-LABlab(14.30, 34.93, -44.90)
CIE-LCHlch(14.30, 56.89, 307.89°)
OKLaboklab(27.7% 0.0401 -0.1292)
OKLCHoklch(27.7% 0.135 287.2)
XYZxyz(3.4480, 1.7814, 12.4716)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291065 #4C6510
analogous
#102165 #291065 #531065
triadic
#291065 #652910 #106529
tetradic
#291065 #651021 #4C6510 #106553
square
#291065 #651021 #4C6510 #106553
split-complementary
#291065 #655310 #216510
monochromatic
#0B041A #140830 #291065 #3E189A #5421CF

Accessibility & contrast

On white

15.48
#291065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#291065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291065
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291065#FFFFFF#000000##FFFFFF
##2910651.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#002263
Tritanopia (blue-blind)
#0D293B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #291065;
/* rgb */ color: rgb(41, 16, 101);
/* oklch */ color: oklch(27.7% 0.135 287.2);
Tailwind
colors: {
  custom: {
    50: '#6b5292',
    500: '#291065',
    950: '#000000',
  },
}
SCSS
$custom: #291065;
$custom-light: #6b5292;
$custom-dark: #000000;
JSON
{
  "hex": "#291065",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 257.647,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27704,
    "c": 0.13532,
    "h": 287.2
  },
  "luminance": 0.01782
}

Semantic roles & 50–950 ramp

primary
#291065
secondary
#7E9D33
accent
#EF38BA
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #291065

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

Preview Lab → · Contrast checker → · Palette generator →

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