#6A33BB#6A33BB

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

Color values

HEX#6A33BB
RGBrgb(106, 51, 187)
HSLhsl(264, 57%, 47%)
HSVhsv(264, 73%, 73%)
CMYKcmyk(43.3%, 72.7%, 0%, 26.7%)
CIE-LABlab(36.02, 52.39, -62.41)
CIE-LCHlch(36.02, 81.49, 310.01°)
OKLaboklab(47.19% 0.0884 -0.1786)
OKLCHoklch(47.19% 0.199 296.3)
XYZxyz(16.0950, 9.0193, 47.8970)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A33BB #84BB33
analogous
#3340BB #6A33BB #AE33BB
triadic
#6A33BB #BB6A33 #33BB6A
tetradic
#6A33BB #BB3340 #84BB33 #33BBAE
square
#6A33BB #BB3340 #84BB33 #33BBAE
split-complementary
#6A33BB #BBAE33 #40BB33
monochromatic
#33195B #4F268B #6A33BB #8A59D2 #AC89DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A33BB#FFFFFF#000000##FFFFFF
##6A33BB1.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)
#0055BF
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#545674
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a33bb;
/* rgb */ color: rgb(106, 51, 187);
/* oklch */ color: oklch(47.2% 0.199 296.3);
Tailwind
colors: {
  custom: {
    50: '#9c70d0',
    500: '#6a33bb',
    950: '#000000',
  },
}
SCSS
$custom: #6a33bb;
$custom-light: #9c70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a33bb",
  "rgb": {
    "r": 106,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 264.265,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47185,
    "c": 0.19928,
    "h": 296.3
  },
  "luminance": 0.0902
}

Semantic roles & 50–950 ramp

primary
#6A33BB
secondary
#ACC981
accent
#E047A3
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A33BB

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

Preview Lab → · Contrast checker → · Palette generator →

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