#6C30AE#6C30AE

#6C30AE is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.189 H 300.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#6C30AE
RGBrgb(108, 48, 174)
HSLhsl(269, 57%, 44%)
HSVhsv(269, 72%, 68%)
CMYKcmyk(37.9%, 72.4%, 0%, 31.8%)
CIE-LABlab(34.72, 50.87, -56.82)
CIE-LCHlch(34.72, 76.26, 311.83°)
OKLaboklab(45.99% 0.0968 -0.1621)
OKLCHoklch(45.99% 0.189 300.9)
XYZxyz(14.8794, 8.3579, 40.8655)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C30AE #72AE30
analogous
#3033AE #6C30AE #AB30AE
triadic
#6C30AE #AE6C30 #30AE6C
tetradic
#6C30AE #AE3033 #72AE30 #30AEAB
square
#6C30AE #AE3033 #72AE30 #30AEAB
split-complementary
#6C30AE #AEAB30 #33AE30
monochromatic
#30164E #4E237E #6C30AE #8B4DCE #AA7DDB

Accessibility & contrast

On white

7.86
#6C30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6C30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C30AE
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C30AE#FFFFFF#000000##FFFFFF
##6C30AE1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#5D4F6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6c30ae;
/* rgb */ color: rgb(108, 48, 174);
/* oklch */ color: oklch(46.0% 0.189 300.9);
Tailwind
colors: {
  custom: {
    50: '#9c6ec7',
    500: '#6c30ae',
    950: '#000000',
  },
}
SCSS
$custom: #6c30ae;
$custom-light: #9c6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c30ae",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 268.571,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4599,
    "c": 0.18879,
    "h": 300.9
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#6C30AE
secondary
#9FC476
accent
#E04898
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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