#6D30AE#6D30AE

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

Color values

HEX#6D30AE
RGBrgb(109, 48, 174)
HSLhsl(269, 57%, 44%)
HSVhsv(269, 72%, 68%)
CMYKcmyk(37.4%, 72.4%, 0%, 31.8%)
CIE-LABlab(34.84, 51.05, -56.61)
CIE-LCHlch(34.84, 76.23, 312.05°)
OKLaboklab(46.11% 0.0983 -0.1614)
OKLCHoklch(46.11% 0.189 301.3)
XYZxyz(15.0018, 8.4210, 40.8713)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D30AE #71AE30
analogous
#3032AE #6D30AE #AC30AE
triadic
#6D30AE #AE6D30 #30AE6D
tetradic
#6D30AE #AE3032 #71AE30 #30AEAC
square
#6D30AE #AE3032 #71AE30 #30AEAC
split-complementary
#6D30AE #AEAC30 #32AE30
monochromatic
#31164E #4F237E #6D30AE #8C4DCE #AB7DDB

Accessibility & contrast

On white

7.82
#6D30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6D30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D30AE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D30AE#FFFFFF#000000##FFFFFF
##6D30AE1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d30ae;
/* rgb */ color: rgb(109, 48, 174);
/* oklch */ color: oklch(46.1% 0.189 301.3);
Tailwind
colors: {
  custom: {
    50: '#9c6ec7',
    500: '#6d30ae',
    950: '#000000',
  },
}
SCSS
$custom: #6d30ae;
$custom-light: #9c6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d30ae",
  "rgb": {
    "r": 109,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 269.048,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46108,
    "c": 0.18896,
    "h": 301.3
  },
  "luminance": 0.08421
}

Semantic roles & 50–950 ramp

primary
#6D30AE
secondary
#9EC476
accent
#E04896
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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