#6E33A2#6E33A2

#6E33A2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.172 H 304.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#6E33A2
RGBrgb(110, 51, 162)
HSLhsl(272, 52%, 42%)
HSVhsv(272, 69%, 64%)
CMYKcmyk(32.1%, 68.5%, 0%, 36.5%)
CIE-LABlab(34.58, 46.87, -49.83)
CIE-LCHlch(34.58, 68.41, 313.25°)
OKLaboklab(45.67% 0.0984 -0.1415)
OKLCHoklch(45.67% 0.172 304.8)
XYZxyz(14.1344, 8.2914, 35.0312)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E33A2 #67A233
analogous
#3733A2 #6E33A2 #A2339F
triadic
#6E33A2 #A26E33 #33A26E
tetradic
#6E33A2 #A23733 #67A233 #339FA2
square
#6E33A2 #A23733 #67A233 #339FA2
split-complementary
#6E33A2 #9FA233 #33A237
monochromatic
#2F1645 #4E2473 #6E33A2 #8D4CC7 #AB7AD5

Accessibility & contrast

On white

7.90
#6E33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6E33A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E33A2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E33A2#FFFFFF#000000##FFFFFF
##6E33A21.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0B51A0
Tritanopia (blue-blind)
#644C66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e33a2;
/* rgb */ color: rgb(110, 51, 162);
/* oklch */ color: oklch(45.7% 0.172 304.8);
Tailwind
colors: {
  custom: {
    50: '#9c6fbe',
    500: '#6e33a2',
    950: '#000000',
  },
}
SCSS
$custom: #6e33a2;
$custom-light: #9c6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6e33a2",
  "rgb": {
    "r": 110,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 271.892,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45665,
    "c": 0.17233,
    "h": 304.8
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#6E33A2
secondary
#96BE73
accent
#DC4C8F
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0812
muted
#7E7B81

Preview Lab

Preview with #6E33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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