#812183#812183

#812183 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.172 H 327.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#812183
RGBrgb(129, 33, 131)
HSLhsl(299, 60%, 32%)
HSVhsv(299, 75%, 51%)
CMYKcmyk(1.5%, 74.8%, 0%, 48.6%)
CIE-LABlab(32.69, 52.25, -33.72)
CIE-LCHlch(32.69, 62.19, 327.16°)
OKLaboklab(44.24% 0.1448 -0.0936)
OKLCHoklch(44.24% 0.172 327.1)
XYZxyz(13.6936, 7.3945, 22.1744)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812183 #238321
analogous
#502183 #812183 #832154
triadic
#812183 #838121 #218381
tetradic
#812183 #835021 #238321 #215483
square
#812183 #835021 #238321 #215483
split-complementary
#812183 #548321 #218350
monochromatic
#210821 #511552 #812183 #B12DB4 #CF4CD2

Accessibility & contrast

On white

8.47
#812183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#812183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812183
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812183#FFFFFF#000000##FFFFFF
##8121831.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4586
Deuteranopia (green-blind)
#3A5181
Tritanopia (blue-blind)
#853150
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #812183;
/* rgb */ color: rgb(129, 33, 131);
/* oklch */ color: oklch(44.2% 0.172 327.1);
Tailwind
colors: {
  custom: {
    50: '#a967a7',
    500: '#812183',
    950: '#000000',
  },
}
SCSS
$custom: #812183;
$custom-light: #a967a7;
$custom-dark: #000000;
JSON
{
  "hex": "#812183",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 298.776,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44242,
    "c": 0.17239,
    "h": 327.1
  },
  "luminance": 0.07394
}

Semantic roles & 50–950 ramp

primary
#812183
secondary
#4DB54B
accent
#E34548
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #812183

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

Preview Lab → · Contrast checker → · Palette generator →

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