#291483#291483

#291483 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.168 H 279.3°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#291483
RGBrgb(41, 20, 131)
HSLhsl(251, 74%, 30%)
HSVhsv(251, 85%, 51%)
CMYKcmyk(68.7%, 84.7%, 0%, 48.6%)
CIE-LABlab(18.41, 42.23, -57.49)
CIE-LCHlch(18.41, 71.33, 306.30°)
OKLaboklab(31.57% 0.0273 -0.166)
OKLCHoklch(31.57% 0.168 279.3)
XYZxyz(5.2600, 2.6100, 21.6949)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291483 #6E8314
analogous
#143783 #291483 #601483
triadic
#291483 #832914 #148329
tetradic
#291483 #831437 #6E8314 #148360
square
#291483 #831437 #6E8314 #148360
split-complementary
#291483 #836014 #378314
monochromatic
#08041B #180C4E #291483 #3A1CB8 #5332E0

Accessibility & contrast

On white

13.80
#291483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#291483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291483
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291483#FFFFFF#000000##FFFFFF
##2914831.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002881
Tritanopia (blue-blind)
#00374D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #291483;
/* rgb */ color: rgb(41, 20, 131);
/* oklch */ color: oklch(31.6% 0.168 279.3);
Tailwind
colors: {
  custom: {
    50: '#7156a8',
    500: '#291483',
    950: '#000000',
  },
}
SCSS
$custom: #291483;
$custom-light: #7156a8;
$custom-dark: #000000;
JSON
{
  "hex": "#291483",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 131
  },
  "hsl": {
    "h": 251.351,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31572,
    "c": 0.16822,
    "h": 279.3
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#291483
secondary
#A0B83B
accent
#F038CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #291483

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

Preview Lab → · Contrast checker → · Palette generator →

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