#6D30AC#6D30AC

#6D30AC is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.187 H 301.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#6D30AC
RGBrgb(109, 48, 172)
HSLhsl(270, 56%, 43%)
HSVhsv(270, 72%, 67%)
CMYKcmyk(36.6%, 72.1%, 0%, 32.5%)
CIE-LABlab(34.69, 50.56, -55.67)
CIE-LCHlch(34.69, 75.20, 312.25°)
OKLaboklab(45.95% 0.0986 -0.1587)
OKLCHoklch(45.95% 0.187 301.9)
XYZxyz(14.8082, 8.3436, 39.8521)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30AC #6FAC30
analogous
#3031AC #6D30AC #AB30AC
triadic
#6D30AC #AC6D30 #30AC6D
tetradic
#6D30AC #AC3031 #6FAC30 #30ACAB
square
#6D30AC #AC3031 #6FAC30 #30ACAB
split-complementary
#6D30AC #ACAB30 #31AC30
monochromatic
#30154C #4F237C #6D30AC #8C4CCD #AA7CDA

Accessibility & contrast

On white

7.87
#6D30AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D30AC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30AC#FFFFFF#000000##FFFFFF
##6D30AC1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#604E6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d30ac;
/* rgb */ color: rgb(109, 48, 172);
/* oklch */ color: oklch(45.9% 0.187 301.9);
Tailwind
colors: {
  custom: {
    50: '#9c6ec6',
    500: '#6d30ac',
    950: '#000000',
  },
}
SCSS
$custom: #6d30ac;
$custom-light: #9c6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30ac",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 269.516,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.18681,
    "h": 301.9
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#6D30AC
secondary
#9DC375
accent
#E04895
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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