#291673#291673

#291673 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.147 H 282.3°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#291673
RGBrgb(41, 22, 115)
HSLhsl(252, 68%, 27%)
HSVhsv(252, 81%, 45%)
CMYKcmyk(64.3%, 80.9%, 0%, 54.9%)
CIE-LABlab(16.91, 36.25, -49.74)
CIE-LCHlch(16.91, 61.55, 306.09°)
OKLaboklab(29.99% 0.0313 -0.1435)
OKLCHoklch(29.99% 0.147 282.3)
XYZxyz(4.2949, 2.2827, 16.4306)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291673 #607316
analogous
#163273 #291673 #581673
triadic
#291673 #732916 #167329
tetradic
#291673 #731632 #607316 #167358
square
#291673 #731632 #607316 #167358
split-complementary
#291673 #735816 #327316
monochromatic
#09051A #170C40 #291673 #3B20A6 #4F2DD7

Accessibility & contrast

On white

14.42
#291673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#291673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291673
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291673#FFFFFF#000000##FFFFFF
##2916731.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002671
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291673;
/* rgb */ color: rgb(41, 22, 115);
/* oklch */ color: oklch(30.0% 0.147 282.3);
Tailwind
colors: {
  custom: {
    50: '#6e569c',
    500: '#291673',
    950: '#000000',
  },
}
SCSS
$custom: #291673;
$custom-light: #6e569c;
$custom-dark: #000000;
JSON
{
  "hex": "#291673",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 252.258,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29986,
    "c": 0.14685,
    "h": 282.3
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#291673
secondary
#93A93C
accent
#EB3DC7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291673

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

Preview Lab → · Contrast checker → · Palette generator →

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