#813299#813299

#813299 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.171 H 317.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#813299
RGBrgb(129, 50, 153)
HSLhsl(286, 51%, 40%)
HSVhsv(286, 67%, 60%)
CMYKcmyk(15.7%, 67.3%, 0%, 40%)
CIE-LABlab(36.46, 49.63, -41.23)
CIE-LCHlch(36.46, 64.52, 320.28°)
OKLaboklab(47.38% 0.1257 -0.1156)
OKLCHoklch(47.38% 0.171 317.4)
XYZxyz(15.9428, 9.2489, 31.0762)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813299 #4A9932
analogous
#4D3299 #813299 #99327E
triadic
#813299 #998132 #329981
tetradic
#813299 #994D32 #4A9932 #327E99
square
#813299 #994D32 #4A9932 #327E99
split-complementary
#813299 #7E9932 #32994D
monochromatic
#33143D #5A236B #813299 #A546C2 #BC74D2

Accessibility & contrast

On white

7.37
#813299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#813299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #813299
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813299#FFFFFF#000000##FFFFFF
##8132991.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06519C
Deuteranopia (green-blind)
#355897
Tritanopia (blue-blind)
#804561
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #813299;
/* rgb */ color: rgb(129, 50, 153);
/* oklch */ color: oklch(47.4% 0.171 317.4);
Tailwind
colors: {
  custom: {
    50: '#a970b7',
    500: '#813299',
    950: '#000000',
  },
}
SCSS
$custom: #813299;
$custom-light: #a970b7;
$custom-dark: #000000;
JSON
{
  "hex": "#813299",
  "rgb": {
    "r": 129,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 286.019,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47379,
    "c": 0.17076,
    "h": 317.4
  },
  "luminance": 0.09248
}

Semantic roles & 50–950 ramp

primary
#813299
secondary
#7FBA6D
accent
#DA4E6E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #813299

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

Preview Lab → · Contrast checker → · Palette generator →

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