#6A33C2#6A33C2

#6A33C2 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.207 H 294.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6A33C2
RGBrgb(106, 51, 194)
HSLhsl(263, 58%, 48%)
HSVhsv(263, 74%, 76%)
CMYKcmyk(45.4%, 73.7%, 0%, 23.9%)
CIE-LABlab(36.61, 54.21, -65.57)
CIE-LCHlch(36.61, 85.08, 309.58°)
OKLaboklab(47.78% 0.0868 -0.1879)
OKLCHoklch(47.78% 0.207 294.8)
XYZxyz(16.8627, 9.3264, 51.9402)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A33C2 #8BC233
analogous
#3343C2 #6A33C2 #B133C2
triadic
#6A33C2 #C26A33 #33C26A
tetradic
#6A33C2 #C23343 #8BC233 #33C2B1
square
#6A33C2 #C23343 #8BC233 #33C2B1
split-complementary
#6A33C2 #C2B133 #43C233
monochromatic
#351A61 #502692 #6A33C2 #8B5ED5 #AE8EE1

Accessibility & contrast

On white

7.33
#6A33C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6A33C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A33C2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A33C2#FFFFFF#000000##FFFFFF
##6A33C21.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#515978
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a33c2;
/* rgb */ color: rgb(106, 51, 194);
/* oklch */ color: oklch(47.8% 0.207 294.8);
Tailwind
colors: {
  custom: {
    50: '#9d70d6',
    500: '#6a33c2',
    950: '#000000',
  },
}
SCSS
$custom: #6a33c2;
$custom-light: #9d70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a33c2",
  "rgb": {
    "r": 106,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 263.077,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47778,
    "c": 0.20697,
    "h": 294.8
  },
  "luminance": 0.09327
}

Semantic roles & 50–950 ramp

primary
#6A33C2
secondary
#B1CC85
accent
#E246A6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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