#291965#291965

#291965 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.125 H 285.1°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#291965
RGBrgb(41, 25, 101)
HSLhsl(253, 60%, 25%)
HSVhsv(253, 75%, 40%)
CMYKcmyk(59.4%, 75.2%, 0%, 60.4%)
CIE-LABlab(16.03, 30.00, -42.04)
CIE-LCHlch(16.03, 51.64, 305.51°)
OKLaboklab(28.93% 0.0327 -0.121)
OKLCHoklch(28.93% 0.125 285.1)
XYZxyz(3.6103, 2.1061, 12.5257)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291965 #556519
analogous
#192F65 #291965 #4F1965
triadic
#291965 #652919 #196529
tetradic
#291965 #65192F #556519 #19654F
square
#291965 #65192F #556519 #19654F
split-complementary
#291965 #654F19 #2F6519
monochromatic
#0A0619 #150D34 #291965 #3D2596 #5131C7

Accessibility & contrast

On white

14.78
#291965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291965
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291965#FFFFFF#000000##FFFFFF
##2919651.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002564
Tritanopia (blue-blind)
#0C2D3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #291965;
/* rgb */ color: rgb(41, 25, 101);
/* oklch */ color: oklch(28.9% 0.125 285.1);
Tailwind
colors: {
  custom: {
    50: '#6a5792',
    500: '#291965',
    950: '#000000',
  },
}
SCSS
$custom: #291965;
$custom-light: #6a5792;
$custom-dark: #000000;
JSON
{
  "hex": "#291965",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 252.632,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28926,
    "c": 0.1253,
    "h": 285.1
  },
  "luminance": 0.02106
}

Semantic roles & 50–950 ramp

primary
#291965
secondary
#889B3F
accent
#E344C2
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291965

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

Preview Lab → · Contrast checker → · Palette generator →

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