#6D33B2#6D33B2

#6D33B2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.190 H 299.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6D33B2
RGBrgb(109, 51, 178)
HSLhsl(267, 55%, 45%)
HSVhsv(267, 71%, 70%)
CMYKcmyk(38.8%, 71.3%, 0%, 30.2%)
CIE-LABlab(35.66, 50.64, -57.66)
CIE-LCHlch(35.66, 76.74, 311.29°)
OKLaboklab(46.79% 0.0945 -0.1645)
OKLCHoklch(46.79% 0.19 299.9)
XYZxyz(15.5244, 8.8331, 42.9979)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D33B2 #78B233
analogous
#3338B2 #6D33B2 #AD33B2
triadic
#6D33B2 #B26D33 #33B26D
tetradic
#6D33B2 #B23338 #78B233 #33B2AD
square
#6D33B2 #B23338 #78B233 #33B2AD
split-complementary
#6D33B2 #B2AD33 #38B233
monochromatic
#331853 #502582 #6D33B2 #8C54CE #AC84DC

Accessibility & contrast

On white

7.59
#6D33B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6D33B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D33B2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D33B2#FFFFFF#000000##FFFFFF
##6D33B21.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#5D526F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d33b2;
/* rgb */ color: rgb(109, 51, 178);
/* oklch */ color: oklch(46.8% 0.190 299.9);
Tailwind
colors: {
  custom: {
    50: '#9d70ca',
    500: '#6d33b2',
    950: '#000000',
  },
}
SCSS
$custom: #6d33b2;
$custom-light: #9d70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d33b2",
  "rgb": {
    "r": 109,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 267.402,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46785,
    "c": 0.18975,
    "h": 299.9
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#6D33B2
secondary
#A4C57C
accent
#DF499A
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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