#291269#291269

#291269 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.138 H 285.6°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#291269
RGBrgb(41, 18, 105)
HSLhsl(256, 71%, 24%)
HSVhsv(256, 83%, 41%)
CMYKcmyk(61%, 82.9%, 0%, 58.8%)
CIE-LABlab(15.08, 35.17, -46.24)
CIE-LCHlch(15.08, 58.10, 307.26°)
OKLaboklab(28.38% 0.0373 -0.1332)
OKLCHoklch(28.38% 0.138 285.6)
XYZxyz(3.6798, 1.9237, 13.5393)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291269 #526912
analogous
#122769 #291269 #551269
triadic
#291269 #692912 #126929
tetradic
#291269 #691227 #526912 #126955
square
#291269 #691227 #526912 #126955
split-complementary
#291269 #695512 #276912
monochromatic
#0A041A #150935 #291269 #3D1B9D #5224D1

Accessibility & contrast

On white

15.16
#291269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#291269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291269
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291269#FFFFFF#000000##FFFFFF
##2912691.0015.161.3815.16
#FFFFFF15.161.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286B
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#072C3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #291269;
/* rgb */ color: rgb(41, 18, 105);
/* oklch */ color: oklch(28.4% 0.138 285.6);
Tailwind
colors: {
  custom: {
    50: '#6c5395',
    500: '#291269',
    950: '#000000',
  },
}
SCSS
$custom: #291269;
$custom-light: #6c5395;
$custom-dark: #000000;
JSON
{
  "hex": "#291269",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 255.862,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28383,
    "c": 0.13831,
    "h": 285.6
  },
  "luminance": 0.01924
}

Semantic roles & 50–950 ramp

primary
#291269
secondary
#84A136
accent
#ED3ABE
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291269

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

Preview Lab → · Contrast checker → · Palette generator →

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