#291245#291245

#291245 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.091 H 300.5°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#291245
RGBrgb(41, 18, 69)
HSLhsl(267, 59%, 17%)
HSVhsv(267, 74%, 27%)
CMYKcmyk(40.6%, 73.9%, 0%, 72.9%)
CIE-LABlab(11.51, 24.02, -27.69)
CIE-LCHlch(11.51, 36.66, 310.94°)
OKLaboklab(24.76% 0.0465 -0.0788)
OKLCHoklch(24.76% 0.092 300.5)
XYZxyz(2.2047, 1.3337, 5.7703)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291245 #2E4512
analogous
#121445 #291245 #431245
triadic
#291245 #452912 #124529
tetradic
#291245 #451214 #2E4512 #124543
square
#291245 #451214 #2E4512 #124543
split-complementary
#291245 #454312 #144512
monochromatic
#0E0618 #0E0618 #291245 #461F76 #632BA6

Accessibility & contrast

On white

16.58
#291245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#291245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291245
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291245#FFFFFF#000000##FFFFFF
##2912451.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#231E29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #291245;
/* rgb */ color: rgb(41, 18, 69);
/* oklch */ color: oklch(24.8% 0.091 300.5);
Tailwind
colors: {
  custom: {
    50: '#665179',
    500: '#291245',
    950: '#000000',
  },
}
SCSS
$custom: #291245;
$custom-light: #665179;
$custom-dark: #000000;
JSON
{
  "hex": "#291245",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 267.059,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24763,
    "c": 0.0915,
    "h": 300.5
  },
  "luminance": 0.01334
}

Semantic roles & 50–950 ramp

primary
#291245
secondary
#5D7E35
accent
#E2469C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #291245

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

Preview Lab → · Contrast checker → · Palette generator →

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