#6D33B5#6D33B5

#6D33B5 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.193 H 299.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#6D33B5
RGBrgb(109, 51, 181)
HSLhsl(267, 56%, 45%)
HSVhsv(267, 72%, 71%)
CMYKcmyk(39.8%, 71.8%, 0%, 29%)
CIE-LABlab(35.90, 51.39, -59.06)
CIE-LCHlch(35.90, 78.29, 311.03°)
OKLaboklab(47.03% 0.094 -0.1686)
OKLCHoklch(47.03% 0.193 299.1)
XYZxyz(15.8289, 8.9549, 44.6016)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D33B5 #7BB533
analogous
#333AB5 #6D33B5 #AE33B5
triadic
#6D33B5 #B56D33 #33B56D
tetradic
#6D33B5 #B5333A #7BB533 #33B5AE
square
#6D33B5 #B5333A #7BB533 #33B5AE
split-complementary
#6D33B5 #B5AE33 #3AB533
monochromatic
#331856 #502685 #6D33B5 #8C56CF #AD86DD

Accessibility & contrast

On white

7.52
#6D33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6D33B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D33B5
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D33B5#FFFFFF#000000##FFFFFF
##6D33B51.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#5C5371
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d33b5;
/* rgb */ color: rgb(109, 51, 181);
/* oklch */ color: oklch(47.0% 0.193 299.1);
Tailwind
colors: {
  custom: {
    50: '#9d70cc',
    500: '#6d33b5',
    950: '#000000',
  },
}
SCSS
$custom: #6d33b5;
$custom-light: #9d70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d33b5",
  "rgb": {
    "r": 109,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 266.769,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47027,
    "c": 0.19303,
    "h": 299.1
  },
  "luminance": 0.08955
}

Semantic roles & 50–950 ramp

primary
#6D33B5
secondary
#A6C67D
accent
#DF489C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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