#6A33BA#6A33BA

#6A33BA is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.198 H 296.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6A33BA
RGBrgb(106, 51, 186)
HSLhsl(264, 57%, 46%)
HSVhsv(264, 73%, 73%)
CMYKcmyk(43%, 72.6%, 0%, 27.1%)
CIE-LABlab(35.94, 52.13, -61.96)
CIE-LCHlch(35.94, 80.97, 310.08°)
OKLaboklab(47.1% 0.0886 -0.1773)
OKLCHoklch(47.1% 0.198 296.6)
XYZxyz(15.9883, 8.9767, 47.3352)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A33BA #83BA33
analogous
#3340BA #6A33BA #AE33BA
triadic
#6A33BA #BA6A33 #33BA6A
tetradic
#6A33BA #BA3340 #83BA33 #33BAAE
square
#6A33BA #BA3340 #83BA33 #33BAAE
split-complementary
#6A33BA #BAAE33 #40BA33
monochromatic
#33195A #4F268A #6A33BA #8A59D1 #AC89DF

Accessibility & contrast

On white

7.51
#6A33BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A33BA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A33BA#FFFFFF#000000##FFFFFF
##6A33BA1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#555673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a33ba;
/* rgb */ color: rgb(106, 51, 186);
/* oklch */ color: oklch(47.1% 0.198 296.6);
Tailwind
colors: {
  custom: {
    50: '#9c70d0',
    500: '#6a33ba',
    950: '#000000',
  },
}
SCSS
$custom: #6a33ba;
$custom-light: #9c70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a33ba",
  "rgb": {
    "r": 106,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 264.444,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47102,
    "c": 0.19818,
    "h": 296.6
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#6A33BA
secondary
#ABC980
accent
#E048A2
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A33BA

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

Preview Lab → · Contrast checker → · Palette generator →

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