#6A33CA#6A33CA

#6A33CA is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.216 H 293.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#6A33CA
RGBrgb(106, 51, 202)
HSLhsl(262, 60%, 50%)
HSVhsv(262, 75%, 79%)
CMYKcmyk(47.5%, 74.8%, 0%, 20.8%)
CIE-LABlab(37.29, 56.29, -69.12)
CIE-LCHlch(37.29, 89.14, 309.16°)
OKLaboklab(48.47% 0.0849 -0.1983)
OKLCHoklch(48.47% 0.216 293.2)
XYZxyz(17.7854, 9.6955, 56.8000)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A33CA #93CA33
analogous
#3348CA #6A33CA #B533CA
triadic
#6A33CA #CA6A33 #33CA6A
tetradic
#6A33CA #CA3348 #93CA33 #33CAB5
square
#6A33CA #CA3348 #93CA33 #33CAB5
split-complementary
#6A33CA #CAB533 #48CA33
monochromatic
#371A68 #502799 #6A33CA #8D63D8 #B194E4

Accessibility & contrast

On white

7.14
#6A33CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6A33CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A33CA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A33CA#FFFFFF#000000##FFFFFF
##6A33CA1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#4C5C7C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a33ca;
/* rgb */ color: rgb(106, 51, 202);
/* oklch */ color: oklch(48.5% 0.216 293.2);
Tailwind
colors: {
  custom: {
    50: '#9d70db',
    500: '#6a33ca',
    950: '#000000',
  },
}
SCSS
$custom: #6a33ca;
$custom-light: #9d70db;
$custom-dark: #000000;
JSON
{
  "hex": "#6a33ca",
  "rgb": {
    "r": 106,
    "g": 51,
    "b": 202
  },
  "hsl": {
    "h": 261.854,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48471,
    "c": 0.21568,
    "h": 293.2
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#6A33CA
secondary
#B6CF8A
accent
#E345A9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A33CA

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

Preview Lab → · Contrast checker → · Palette generator →

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