#6B30AE#6B30AE

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

Color values

HEX#6B30AE
RGBrgb(107, 48, 174)
HSLhsl(268, 57%, 44%)
HSVhsv(268, 72%, 68%)
CMYKcmyk(38.5%, 72.4%, 0%, 31.8%)
CIE-LABlab(34.59, 50.68, -57.03)
CIE-LCHlch(34.59, 76.30, 311.62°)
OKLaboklab(45.87% 0.0954 -0.1627)
OKLCHoklch(45.87% 0.189 300.4)
XYZxyz(14.7585, 8.2956, 40.8599)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B30AE #73AE30
analogous
#3034AE #6B30AE #AA30AE
triadic
#6B30AE #AE6B30 #30AE6B
tetradic
#6B30AE #AE3034 #73AE30 #30AEAA
square
#6B30AE #AE3034 #73AE30 #30AEAA
split-complementary
#6B30AE #AEAA30 #34AE30
monochromatic
#30164E #4E237E #6B30AE #8A4DCE #A97DDB

Accessibility & contrast

On white

7.90
#6B30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6B30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B30AE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B30AE#FFFFFF#000000##FFFFFF
##6B30AE1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b30ae;
/* rgb */ color: rgb(107, 48, 174);
/* oklch */ color: oklch(45.9% 0.189 300.4);
Tailwind
colors: {
  custom: {
    50: '#9b6ec7',
    500: '#6b30ae',
    950: '#000000',
  },
}
SCSS
$custom: #6b30ae;
$custom-light: #9b6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b30ae",
  "rgb": {
    "r": 107,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 268.095,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45873,
    "c": 0.18863,
    "h": 300.4
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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