#812090#812090

#812090 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.184 H 321.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#812090
RGBrgb(129, 32, 144)
HSLhsl(292, 64%, 35%)
HSVhsv(292, 78%, 56%)
CMYKcmyk(10.4%, 77.8%, 0%, 43.5%)
CIE-LABlab(33.38, 54.95, -40.67)
CIE-LCHlch(33.38, 68.36, 323.50°)
OKLaboklab(45% 0.145 -0.1138)
OKLCHoklch(45% 0.184 321.9)
XYZxyz(14.6033, 7.7146, 27.1000)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812090 #2F9020
analogous
#492090 #812090 #902067
triadic
#812090 #908120 #209081
tetradic
#812090 #904920 #2F9020 #206790
square
#812090 #904920 #2F9020 #206790
split-complementary
#812090 #679020 #209049
monochromatic
#270A2C #54155E #812090 #AE2BC2 #C652D9

Accessibility & contrast

On white

8.26
#812090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#812090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812090
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812090#FFFFFF#000000##FFFFFF
##8120901.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#30528D
Tritanopia (blue-blind)
#823657
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #812090;
/* rgb */ color: rgb(129, 32, 144);
/* oklch */ color: oklch(45.0% 0.184 321.9);
Tailwind
colors: {
  custom: {
    50: '#a967b1',
    500: '#812090',
    950: '#000000',
  },
}
SCSS
$custom: #812090;
$custom-light: #a967b1;
$custom-dark: #000000;
JSON
{
  "hex": "#812090",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 291.964,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44996,
    "c": 0.18435,
    "h": 321.9
  },
  "luminance": 0.07714
}

Semantic roles & 50–950 ramp

primary
#812090
secondary
#5EBC50
accent
#E74157
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #812090

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

Preview Lab → · Contrast checker → · Palette generator →

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