#6C33CC#6C33CC

#6C33CC is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.218 H 293.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6C33CC
RGBrgb(108, 51, 204)
HSLhsl(262, 60%, 50%)
HSVhsv(262, 75%, 80%)
CMYKcmyk(47.1%, 75%, 0%, 20%)
CIE-LABlab(37.69, 57.11, -69.62)
CIE-LCHlch(37.69, 90.05, 309.36°)
OKLaboklab(48.86% 0.0873 -0.1997)
OKLCHoklch(48.86% 0.218 293.6)
XYZxyz(18.2642, 9.9149, 58.0665)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C33CC #93CC33
analogous
#3346CC #6C33CC #B933CC
triadic
#6C33CC #CC6C33 #33CC6C
tetradic
#6C33CC #CC3346 #93CC33 #33CCB9
square
#6C33CC #CC3346 #93CC33 #33CCB9
split-complementary
#6C33CC #CCB933 #46CC33
monochromatic
#381B6A #52279B #6C33CC #8F64D8 #B395E4

Accessibility & contrast

On white

7.04
#6C33CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6C33CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C33CC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C33CC#FFFFFF#000000##FFFFFF
##6C33CC1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#4F5C7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c33cc;
/* rgb */ color: rgb(108, 51, 204);
/* oklch */ color: oklch(48.9% 0.218 293.6);
Tailwind
colors: {
  custom: {
    50: '#9f71dd',
    500: '#6c33cc',
    950: '#000000',
  },
}
SCSS
$custom: #6c33cc;
$custom-light: #9f71dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c33cc",
  "rgb": {
    "r": 108,
    "g": 51,
    "b": 204
  },
  "hsl": {
    "h": 262.353,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.48855,
    "c": 0.21793,
    "h": 293.6
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

primary
#6C33CC
secondary
#B6D08B
accent
#E345A8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6C33CC

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

Preview Lab → · Contrast checker → · Palette generator →

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