#6A33AC#6A33AC

#6A33AC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.183 H 300.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#6A33AC
RGBrgb(106, 51, 172)
HSLhsl(267, 54%, 44%)
HSVhsv(267, 70%, 67%)
CMYKcmyk(38.4%, 70.3%, 0%, 32.5%)
CIE-LABlab(34.82, 48.54, -55.47)
CIE-LCHlch(34.82, 73.71, 311.19°)
OKLaboklab(45.96% 0.0913 -0.1582)
OKLCHoklch(45.96% 0.183 300)
XYZxyz(14.5722, 8.4102, 39.8773)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A33AC #75AC33
analogous
#3338AC #6A33AC #A633AC
triadic
#6A33AC #AC6A33 #33AC6A
tetradic
#6A33AC #AC3338 #75AC33 #33ACA6
square
#6A33AC #AC3338 #75AC33 #33ACA6
split-complementary
#6A33AC #ACA633 #38AC33
monochromatic
#30174E #4D257D #6A33AC #8951CB #A980D9

Accessibility & contrast

On white

7.83
#6A33AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6A33AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A33AC
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A33AC#FFFFFF#000000##FFFFFF
##6A33AC1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#5B506C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6a33ac;
/* rgb */ color: rgb(106, 51, 172);
/* oklch */ color: oklch(46.0% 0.183 300.0);
Tailwind
colors: {
  custom: {
    50: '#9a6fc6',
    500: '#6a33ac',
    950: '#000000',
  },
}
SCSS
$custom: #6a33ac;
$custom-light: #9a6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a33ac",
  "rgb": {
    "r": 106,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 267.273,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45961,
    "c": 0.18264,
    "h": 300
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#6A33AC
secondary
#A1C278
accent
#DE4A9B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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