#6C33B8#6C33B8

#6C33B8 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.196 H 297.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6C33B8
RGBrgb(108, 51, 184)
HSLhsl(266, 57%, 46%)
HSVhsv(266, 72%, 72%)
CMYKcmyk(41.3%, 72.3%, 0%, 27.8%)
CIE-LABlab(36.02, 51.97, -60.64)
CIE-LCHlch(36.02, 79.87, 310.60°)
OKLaboklab(47.16% 0.0919 -0.1733)
OKLCHoklch(47.16% 0.196 297.9)
XYZxyz(16.0177, 9.0162, 46.2345)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C33B8 #7FB833
analogous
#333CB8 #6C33B8 #AE33B8
triadic
#6C33B8 #B86C33 #33B86C
tetradic
#6C33B8 #B8333C #7FB833 #33B8AE
square
#6C33B8 #B8333C #7FB833 #33B8AE
split-complementary
#6C33B8 #B8AE33 #3CB833
monochromatic
#341858 #502688 #6C33B8 #8B58D1 #AD88DE

Accessibility & contrast

On white

7.49
#6C33B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6C33B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C33B8
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C33B8#FFFFFF#000000##FFFFFF
##6C33B81.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#595572
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c33b8;
/* rgb */ color: rgb(108, 51, 184);
/* oklch */ color: oklch(47.2% 0.196 297.9);
Tailwind
colors: {
  custom: {
    50: '#9d70ce',
    500: '#6c33b8',
    950: '#000000',
  },
}
SCSS
$custom: #6c33b8;
$custom-light: #9d70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6c33b8",
  "rgb": {
    "r": 108,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 265.714,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47158,
    "c": 0.19619,
    "h": 297.9
  },
  "luminance": 0.09016
}

Semantic roles & 50–950 ramp

primary
#6C33B8
secondary
#A9C87F
accent
#E0489F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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