#291964#291964

#291964 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.8% C 0.124 H 285.4°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#291964
RGBrgb(41, 25, 100)
HSLhsl(253, 60%, 25%)
HSVhsv(253, 75%, 39%)
CMYKcmyk(59%, 75%, 0%, 60.8%)
CIE-LABlab(15.94, 29.66, -41.54)
CIE-LCHlch(15.94, 51.04, 305.53°)
OKLaboklab(28.83% 0.0329 -0.1195)
OKLCHoklch(28.83% 0.124 285.4)
XYZxyz(3.5616, 2.0866, 12.2692)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291964 #546419
analogous
#192F64 #291964 #4F1964
triadic
#291964 #642919 #196429
tetradic
#291964 #64192F #546419 #19644F
square
#291964 #64192F #546419 #19644F
split-complementary
#291964 #644F19 #2F6419
monochromatic
#0A0618 #150D33 #291964 #3D2595 #5131C6

Accessibility & contrast

On white

14.82
#291964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#291964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291964
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291964#FFFFFF#000000##FFFFFF
##2919641.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#0E2D3C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #291964;
/* rgb */ color: rgb(41, 25, 100);
/* oklch */ color: oklch(28.8% 0.124 285.4);
Tailwind
colors: {
  custom: {
    50: '#6a5791',
    500: '#291964',
    950: '#000000',
  },
}
SCSS
$custom: #291964;
$custom-light: #6a5791;
$custom-dark: #000000;
JSON
{
  "hex": "#291964",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 252.8,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28825,
    "c": 0.12394,
    "h": 285.4
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

primary
#291964
secondary
#879A3F
accent
#E345C1
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291964

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

Preview Lab → · Contrast checker → · Palette generator →

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