#6D33A2#6D33A2

#6D33A2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.172 H 304.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#6D33A2
RGBrgb(109, 51, 162)
HSLhsl(271, 52%, 42%)
HSVhsv(271, 69%, 64%)
CMYKcmyk(32.7%, 68.5%, 0%, 36.5%)
CIE-LABlab(34.45, 46.66, -50.05)
CIE-LCHlch(34.45, 68.42, 312.99°)
OKLaboklab(45.54% 0.097 -0.1421)
OKLCHoklch(45.54% 0.172 304.3)
XYZxyz(14.0106, 8.2276, 35.0254)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D33A2 #68A233
analogous
#3533A2 #6D33A2 #A233A0
triadic
#6D33A2 #A26D33 #33A26D
tetradic
#6D33A2 #A23533 #68A233 #33A0A2
square
#6D33A2 #A23533 #68A233 #33A0A2
split-complementary
#6D33A2 #A0A233 #33A235
monochromatic
#2E1645 #4E2473 #6D33A2 #8C4CC7 #AA7AD5

Accessibility & contrast

On white

7.94
#6D33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6D33A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D33A2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D33A2#FFFFFF#000000##FFFFFF
##6D33A21.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0851A0
Tritanopia (blue-blind)
#634C66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6d33a2;
/* rgb */ color: rgb(109, 51, 162);
/* oklch */ color: oklch(45.5% 0.172 304.3);
Tailwind
colors: {
  custom: {
    50: '#9b6fbe',
    500: '#6d33a2',
    950: '#000000',
  },
}
SCSS
$custom: #6d33a2;
$custom-light: #9b6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6d33a2",
  "rgb": {
    "r": 109,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 271.351,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.17209,
    "h": 304.3
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#6D33A2
secondary
#97BE73
accent
#DC4C91
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0812
muted
#7E7B81

Preview Lab

Preview with #6D33A2

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

Preview Lab → · Contrast checker → · Palette generator →

#6D33A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva