#6E33AB#6E33AB

#6E33AB is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.182 H 302.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#6E33AB
RGBrgb(110, 51, 171)
HSLhsl(270, 54%, 44%)
HSVhsv(270, 70%, 67%)
CMYKcmyk(35.7%, 70.2%, 0%, 32.9%)
CIE-LABlab(35.25, 49.08, -54.16)
CIE-LCHlch(35.25, 73.09, 312.19°)
OKLaboklab(46.35% 0.0971 -0.1542)
OKLCHoklch(46.35% 0.182 302.2)
XYZxyz(14.9632, 8.6229, 39.3963)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E33AB #70AB33
analogous
#3334AB #6E33AB #AA33AB
triadic
#6E33AB #AB6E33 #33AB6E
tetradic
#6E33AB #AB3334 #70AB33 #33ABAA
square
#6E33AB #AB3334 #70AB33 #33ABAA
split-complementary
#6E33AB #ABAA33 #34AB33
monochromatic
#31174D #50257C #6E33AB #8D50CB #AB7FD9

Accessibility & contrast

On white

7.71
#6E33AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6E33AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E33AB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E33AB#FFFFFF#000000##FFFFFF
##6E33AB1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#614F6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e33ab;
/* rgb */ color: rgb(110, 51, 171);
/* oklch */ color: oklch(46.4% 0.182 302.2);
Tailwind
colors: {
  custom: {
    50: '#9d6fc5',
    500: '#6e33ab',
    950: '#000000',
  },
}
SCSS
$custom: #6e33ab;
$custom-light: #9d6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e33ab",
  "rgb": {
    "r": 110,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 269.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4635,
    "c": 0.18224,
    "h": 302.2
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#6E33AB
secondary
#9EC278
accent
#DD4A95
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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