#6D33A5#6D33A5

#6D33A5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.175 H 303.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#6D33A5
RGBrgb(109, 51, 165)
HSLhsl(271, 53%, 42%)
HSVhsv(271, 69%, 65%)
CMYKcmyk(33.9%, 69.1%, 0%, 35.3%)
CIE-LABlab(34.67, 47.40, -51.50)
CIE-LCHlch(34.67, 69.99, 312.62°)
OKLaboklab(45.77% 0.0966 -0.1464)
OKLCHoklch(45.77% 0.175 303.4)
XYZxyz(14.2805, 8.3355, 36.4466)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D33A5 #6BA533
analogous
#3433A5 #6D33A5 #A533A4
triadic
#6D33A5 #A56D33 #33A56D
tetradic
#6D33A5 #A53433 #6BA533 #33A4A5
square
#6D33A5 #A53433 #6BA533 #33A4A5
split-complementary
#6D33A5 #A4A533 #33A534
monochromatic
#2F1648 #4E2576 #6D33A5 #8C4DC8 #AA7CD6

Accessibility & contrast

On white

7.87
#6D33A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6D33A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D33A5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D33A5#FFFFFF#000000##FFFFFF
##6D33A51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#624D68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d33a5;
/* rgb */ color: rgb(109, 51, 165);
/* oklch */ color: oklch(45.8% 0.175 303.4);
Tailwind
colors: {
  custom: {
    50: '#9b6fc0',
    500: '#6d33a5',
    950: '#000000',
  },
}
SCSS
$custom: #6d33a5;
$custom-light: #9b6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d33a5",
  "rgb": {
    "r": 109,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 270.526,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4577,
    "c": 0.17541,
    "h": 303.4
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#6D33A5
secondary
#99BF75
accent
#DC4C93
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0812
muted
#7E7B81

Preview Lab

Preview with #6D33A5

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

Preview Lab → · Contrast checker → · Palette generator →

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