#6C30AA#6C30AA

#6C30AA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.184 H 301.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6C30AA
RGBrgb(108, 48, 170)
HSLhsl(270, 56%, 43%)
HSVhsv(270, 72%, 67%)
CMYKcmyk(36.5%, 71.8%, 0%, 33.3%)
CIE-LABlab(34.40, 49.87, -54.94)
CIE-LCHlch(34.40, 74.20, 312.23°)
OKLaboklab(45.67% 0.0976 -0.1565)
OKLCHoklch(45.67% 0.184 301.9)
XYZxyz(14.4953, 8.2043, 38.8423)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C30AA #6EAA30
analogous
#3031AA #6C30AA #A930AA
triadic
#6C30AA #AA6C30 #30AA6C
tetradic
#6C30AA #AA3031 #6EAA30 #30AAA9
square
#6C30AA #AA3031 #6EAA30 #30AAA9
split-complementary
#6C30AA #AAA930 #31AA30
monochromatic
#2F154B #4E237A #6C30AA #8B4BCC #A97BDA

Accessibility & contrast

On white

7.95
#6C30AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6C30AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C30AA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C30AA#FFFFFF#000000##FFFFFF
##6C30AA1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#5F4D6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c30aa;
/* rgb */ color: rgb(108, 48, 170);
/* oklch */ color: oklch(45.7% 0.184 301.9);
Tailwind
colors: {
  custom: {
    50: '#9b6ec4',
    500: '#6c30aa',
    950: '#000000',
  },
}
SCSS
$custom: #6c30aa;
$custom-light: #9b6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c30aa",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 269.508,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4567,
    "c": 0.18446,
    "h": 301.9
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#6C30AA
secondary
#9CC274
accent
#DF4995
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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