#6A30AE#6A30AE

#6A30AE is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.188 H 299.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6A30AE
RGBrgb(106, 48, 174)
HSLhsl(268, 57%, 44%)
HSVhsv(268, 72%, 68%)
CMYKcmyk(39.1%, 72.4%, 0%, 31.8%)
CIE-LABlab(34.47, 50.49, -57.24)
CIE-LCHlch(34.47, 76.33, 311.41°)
OKLaboklab(45.76% 0.094 -0.1634)
OKLCHoklch(45.76% 0.188 299.9)
XYZxyz(14.6389, 8.2339, 40.8543)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A30AE #74AE30
analogous
#3035AE #6A30AE #A930AE
triadic
#6A30AE #AE6A30 #30AE6A
tetradic
#6A30AE #AE3035 #74AE30 #30AEA9
square
#6A30AE #AE3035 #74AE30 #30AEA9
split-complementary
#6A30AE #AEA930 #35AE30
monochromatic
#30164E #4D237E #6A30AE #884DCE #A87DDB

Accessibility & contrast

On white

7.93
#6A30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6A30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A30AE
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A30AE#FFFFFF#000000##FFFFFF
##6A30AE1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#5A4F6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a30ae;
/* rgb */ color: rgb(106, 48, 174);
/* oklch */ color: oklch(45.8% 0.188 299.9);
Tailwind
colors: {
  custom: {
    50: '#9b6ec7',
    500: '#6a30ae',
    950: '#000000',
  },
}
SCSS
$custom: #6a30ae;
$custom-light: #9b6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a30ae",
  "rgb": {
    "r": 106,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 267.619,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45756,
    "c": 0.18847,
    "h": 299.9
  },
  "luminance": 0.08234
}

Semantic roles & 50–950 ramp

primary
#6A30AE
secondary
#A0C476
accent
#E0489A
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6A30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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