#291052#291052

#291052 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.111 H 294.4°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#291052
RGBrgb(41, 16, 82)
HSLhsl(263, 67%, 19%)
HSVhsv(263, 80%, 32%)
CMYKcmyk(50%, 80.5%, 0%, 67.8%)
CIE-LABlab(12.29, 29.13, -35.41)
CIE-LCHlch(12.29, 45.85, 309.44°)
OKLaboklab(25.7% 0.0461 -0.1015)
OKLCHoklch(25.7% 0.111 294.4)
XYZxyz(2.6223, 1.4511, 8.1229)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291052 #395210
analogous
#101852 #291052 #4A1052
triadic
#291052 #522910 #105229
tetradic
#291052 #521018 #395210 #10524A
square
#291052 #521018 #395210 #10524A
split-complementary
#291052 #524A10 #185210
monochromatic
#0D051A #0F061F #291052 #431A85 #5C24B8

Accessibility & contrast

On white

16.28
#291052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#291052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291052
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291052#FFFFFF#000000##FFFFFF
##2910521.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002154
Deuteranopia (green-blind)
#001F51
Tritanopia (blue-blind)
#1D2130
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #291052;
/* rgb */ color: rgb(41, 16, 82);
/* oklch */ color: oklch(25.7% 0.111 294.4);
Tailwind
colors: {
  custom: {
    50: '#685183',
    500: '#291052',
    950: '#000000',
  },
}
SCSS
$custom: #291052;
$custom-light: #685183;
$custom-dark: #000000;
JSON
{
  "hex": "#291052",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 262.727,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25696,
    "c": 0.11147,
    "h": 294.4
  },
  "luminance": 0.01451
}

Semantic roles & 50–950 ramp

primary
#291052
secondary
#6A8C32
accent
#EA3EA9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #291052

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

Preview Lab → · Contrast checker → · Palette generator →

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