#291068#291068

#291068 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 28.0% C 0.139 H 286.3°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#291068
RGBrgb(41, 16, 104)
HSLhsl(257, 73%, 24%)
HSVhsv(257, 85%, 41%)
CMYKcmyk(60.6%, 84.6%, 0%, 59.2%)
CIE-LABlab(14.63, 35.85, -46.32)
CIE-LCHlch(14.63, 58.57, 307.74°)
OKLaboklab(28.04% 0.039 -0.1334)
OKLCHoklch(28.04% 0.139 286.3)
XYZxyz(3.5977, 1.8413, 13.2598)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291068 #4F6810
analogous
#102368 #291068 #551068
triadic
#291068 #682910 #106829
tetradic
#291068 #681023 #4F6810 #106855
square
#291068 #681023 #4F6810 #106855
split-complementary
#291068 #685510 #236810
monochromatic
#0A041B #140833 #291068 #3E189D #5320D2

Accessibility & contrast

On white

15.35
#291068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#291068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291068
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291068#FFFFFF#000000##FFFFFF
##2910681.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002266
Tritanopia (blue-blind)
#092A3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #291068;
/* rgb */ color: rgb(41, 16, 104);
/* oklch */ color: oklch(28.0% 0.139 286.3);
Tailwind
colors: {
  custom: {
    50: '#6c5294',
    500: '#291068',
    950: '#000000',
  },
}
SCSS
$custom: #291068;
$custom-light: #6c5294;
$custom-dark: #000000;
JSON
{
  "hex": "#291068",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 257.045,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28037,
    "c": 0.13899,
    "h": 286.3
  },
  "luminance": 0.01841
}

Semantic roles & 50–950 ramp

primary
#291068
secondary
#81A034
accent
#F038BC
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #291068

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

Preview Lab → · Contrast checker → · Palette generator →

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