#6B33A3#6B33A3

#6B33A3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.173 H 303.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#6B33A3
RGBrgb(107, 51, 163)
HSLhsl(270, 52%, 42%)
HSVhsv(270, 69%, 64%)
CMYKcmyk(34.4%, 68.7%, 0%, 36.1%)
CIE-LABlab(34.27, 46.48, -50.96)
CIE-LCHlch(34.27, 68.98, 312.37°)
OKLaboklab(45.38% 0.0941 -0.1449)
OKLCHoklch(45.38% 0.173 303)
XYZxyz(13.8566, 8.1378, 35.4840)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B33A3 #6BA333
analogous
#3333A3 #6B33A3 #A333A3
triadic
#6B33A3 #A36B33 #33A36B
tetradic
#6B33A3 #A33333 #6BA333 #33A3A3
square
#6B33A3 #A33333 #6BA333 #33A3A3
split-complementary
#6B33A3 #A3A333 #33A333
monochromatic
#2E1646 #4C2474 #6B33A3 #8A4CC7 #A87BD6

Accessibility & contrast

On white

7.99
#6B33A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6B33A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B33A3
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B33A3#FFFFFF#000000##FFFFFF
##6B33A31.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#604D67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6b33a3;
/* rgb */ color: rgb(107, 51, 163);
/* oklch */ color: oklch(45.4% 0.173 303.0);
Tailwind
colors: {
  custom: {
    50: '#9a6fbf',
    500: '#6b33a3',
    950: '#000000',
  },
}
SCSS
$custom: #6b33a3;
$custom-light: #9a6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b33a3",
  "rgb": {
    "r": 107,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 270,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45378,
    "c": 0.17276,
    "h": 303
  },
  "luminance": 0.08138
}

Semantic roles & 50–950 ramp

primary
#6B33A3
secondary
#99BE73
accent
#DC4C94
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6B33A3

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

Preview Lab → · Contrast checker → · Palette generator →

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