#812274#812274

#812274 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.159 H 334.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#812274
RGBrgb(129, 34, 116)
HSLhsl(308, 58%, 32%)
HSVhsv(308, 74%, 51%)
CMYKcmyk(0%, 73.6%, 10.1%, 49.4%)
CIE-LABlab(31.97, 49.36, -25.43)
CIE-LCHlch(31.97, 55.52, 332.74°)
OKLaboklab(43.46% 0.1432 -0.0696)
OKLCHoklch(43.46% 0.159 334.1)
XYZxyz(12.7778, 7.0732, 17.2119)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812274 #22812F
analogous
#5F2281 #812274 #812244
triadic
#812274 #748122 #227481
tetradic
#812274 #815F22 #22812F #224481
square
#812274 #815F22 #22812F #224481
split-complementary
#812274 #448122 #22815F
monochromatic
#20081D #511548 #812274 #B12FA0 #D04DBE

Accessibility & contrast

On white

8.70
#812274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#812274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812274
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812274#FFFFFF#000000##FFFFFF
##8122741.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204276
Deuteranopia (green-blind)
#425072
Tritanopia (blue-blind)
#872A48
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #812274;
/* rgb */ color: rgb(129, 34, 116);
/* oklch */ color: oklch(43.5% 0.159 334.1);
Tailwind
colors: {
  custom: {
    50: '#a9679c',
    500: '#812274',
    950: '#000000',
  },
}
SCSS
$custom: #812274;
$custom-light: #a9679c;
$custom-dark: #000000;
JSON
{
  "hex": "#812274",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 308.211,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43456,
    "c": 0.15922,
    "h": 334.1
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#812274
secondary
#4BB35A
accent
#E15C46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #812274

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

Preview Lab → · Contrast checker → · Palette generator →

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