#6B33A5#6B33A5

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

Color values

HEX#6B33A5
RGBrgb(107, 51, 165)
HSLhsl(269, 53%, 42%)
HSVhsv(269, 69%, 65%)
CMYKcmyk(35.2%, 69.1%, 0%, 35.3%)
CIE-LABlab(34.42, 46.98, -51.93)
CIE-LCHlch(34.42, 70.02, 312.14°)
OKLaboklab(45.53% 0.0938 -0.1477)
OKLCHoklch(45.53% 0.175 302.4)
XYZxyz(14.0372, 8.2100, 36.4352)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B33A5 #6DA533
analogous
#3334A5 #6B33A5 #A433A5
triadic
#6B33A5 #A56B33 #33A56B
tetradic
#6B33A5 #A53334 #6DA533 #33A5A4
square
#6B33A5 #A53334 #6DA533 #33A5A4
split-complementary
#6B33A5 #A5A433 #34A533
monochromatic
#2E1648 #4D2576 #6B33A5 #8A4DC8 #A87CD6

Accessibility & contrast

On white

7.95
#6B33A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6B33A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B33A5
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B33A5#FFFFFF#000000##FFFFFF
##6B33A51.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#5F4D68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6b33a5;
/* rgb */ color: rgb(107, 51, 165);
/* oklch */ color: oklch(45.5% 0.175 302.4);
Tailwind
colors: {
  custom: {
    50: '#9a6fc0',
    500: '#6b33a5',
    950: '#000000',
  },
}
SCSS
$custom: #6b33a5;
$custom-light: #9a6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b33a5",
  "rgb": {
    "r": 107,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 269.474,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45531,
    "c": 0.17499,
    "h": 302.4
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#6B33A5
secondary
#9BBF75
accent
#DC4C95
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6B33A5

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

Preview Lab → · Contrast checker → · Palette generator →

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