#6A33B8#6A33B8

#6A33B8 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.196 H 297.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6A33B8
RGBrgb(106, 51, 184)
HSLhsl(265, 57%, 46%)
HSVhsv(265, 72%, 72%)
CMYKcmyk(42.4%, 72.3%, 0%, 27.8%)
CIE-LABlab(35.78, 51.62, -61.04)
CIE-LCHlch(35.78, 79.94, 310.22°)
OKLaboklab(46.94% 0.089 -0.1746)
OKLCHoklch(46.94% 0.196 297)
XYZxyz(15.7772, 8.8922, 46.2232)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A33B8 #81B833
analogous
#333EB8 #6A33B8 #AC33B8
triadic
#6A33B8 #B86A33 #33B86A
tetradic
#6A33B8 #B8333E #81B833 #33B8AC
square
#6A33B8 #B8333E #81B833 #33B8AC
split-complementary
#6A33B8 #B8AC33 #3EB833
monochromatic
#331858 #4E2688 #6A33B8 #8A58D1 #AB88DE

Accessibility & contrast

On white

7.56
#6A33B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6A33B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A33B8
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A33B8#FFFFFF#000000##FFFFFF
##6A33B81.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#565572
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a33b8;
/* rgb */ color: rgb(106, 51, 184);
/* oklch */ color: oklch(46.9% 0.196 297.0);
Tailwind
colors: {
  custom: {
    50: '#9b70ce',
    500: '#6a33b8',
    950: '#000000',
  },
}
SCSS
$custom: #6a33b8;
$custom-light: #9b70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6a33b8",
  "rgb": {
    "r": 106,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 264.812,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46935,
    "c": 0.19597,
    "h": 297
  },
  "luminance": 0.08893
}

Semantic roles & 50–950 ramp

primary
#6A33B8
secondary
#AAC87F
accent
#E048A1
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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