#291465#291465

#291465 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.131 H 286.4°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#291465
RGBrgb(41, 20, 101)
HSLhsl(256, 67%, 24%)
HSVhsv(256, 80%, 40%)
CMYKcmyk(59.4%, 80.2%, 0%, 60.4%)
CIE-LABlab(15.01, 32.87, -43.71)
CIE-LCHlch(15.01, 54.69, 306.94°)
OKLaboklab(28.21% 0.037 -0.1258)
OKLCHoklch(28.21% 0.131 286.4)
XYZxyz(3.5129, 1.9111, 12.4932)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291465 #506514
analogous
#142765 #291465 #511465
triadic
#291465 #652914 #146529
tetradic
#291465 #651427 #506514 #146551
square
#291465 #651427 #506514 #146551
split-complementary
#291465 #655114 #276514
monochromatic
#0A051A #140A32 #291465 #3E1E98 #5228CB

Accessibility & contrast

On white

15.19
#291465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291465
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291465#FFFFFF#000000##FFFFFF
##2914651.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#0D2B3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #291465;
/* rgb */ color: rgb(41, 20, 101);
/* oklch */ color: oklch(28.2% 0.131 286.4);
Tailwind
colors: {
  custom: {
    50: '#6b5492',
    500: '#291465',
    950: '#000000',
  },
}
SCSS
$custom: #291465;
$custom-light: #6b5492;
$custom-dark: #000000;
JSON
{
  "hex": "#291465",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 255.556,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28205,
    "c": 0.13117,
    "h": 286.4
  },
  "luminance": 0.01911
}

Semantic roles & 50–950 ramp

primary
#291465
secondary
#829C39
accent
#EA3EBD
background
#F6F5F9
surface
#ECE8F1
border
#C7C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291465

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

Preview Lab → · Contrast checker → · Palette generator →

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