#291260#291260

#291260 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.127 H 288.4°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#291260
RGBrgb(41, 18, 96)
HSLhsl(258, 68%, 22%)
HSVhsv(258, 81%, 38%)
CMYKcmyk(57.3%, 81.3%, 0%, 62.4%)
CIE-LABlab(14.11, 32.37, -41.89)
CIE-LCHlch(14.11, 52.94, 307.70°)
OKLaboklab(27.41% 0.0402 -0.1205)
OKLCHoklch(27.41% 0.127 288.4)
XYZxyz(3.2415, 1.7484, 11.2307)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291260 #496012
analogous
#122260 #291260 #501260
triadic
#291260 #602912 #126029
tetradic
#291260 #601222 #496012 #126050
square
#291260 #601222 #496012 #126050
split-complementary
#291260 #605012 #226012
monochromatic
#0B051A #13082C #291260 #3F1C94 #5525C7

Accessibility & contrast

On white

15.56
#291260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#291260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291260
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291260#FFFFFF#000000##FFFFFF
##2912601.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#132838
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #291260;
/* rgb */ color: rgb(41, 18, 96);
/* oklch */ color: oklch(27.4% 0.127 288.4);
Tailwind
colors: {
  custom: {
    50: '#6a538e',
    500: '#291260',
    950: '#000000',
  },
}
SCSS
$custom: #291260;
$custom-light: #6a538e;
$custom-dark: #000000;
JSON
{
  "hex": "#291260",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 257.692,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27409,
    "c": 0.12699,
    "h": 288.4
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#291260
secondary
#7B9836
accent
#EB3DB8
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #291260

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

Preview Lab → · Contrast checker → · Palette generator →

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