#6B30AA#6B30AA

#6B30AA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.184 H 301.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#6B30AA
RGBrgb(107, 48, 170)
HSLhsl(269, 56%, 43%)
HSVhsv(269, 72%, 67%)
CMYKcmyk(37.1%, 71.8%, 0%, 33.3%)
CIE-LABlab(34.28, 49.68, -55.15)
CIE-LCHlch(34.28, 74.23, 312.01°)
OKLaboklab(45.55% 0.0961 -0.1572)
OKLCHoklch(45.55% 0.184 301.4)
XYZxyz(14.3743, 8.1419, 38.8367)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B30AA #6FAA30
analogous
#3032AA #6B30AA #A830AA
triadic
#6B30AA #AA6B30 #30AA6B
tetradic
#6B30AA #AA3032 #6FAA30 #30AAA8
square
#6B30AA #AA3032 #6FAA30 #30AAA8
split-complementary
#6B30AA #AAA830 #32AA30
monochromatic
#2F154B #4D237A #6B30AA #894BCC #A97BDA

Accessibility & contrast

On white

7.99
#6B30AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6B30AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B30AA
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B30AA#FFFFFF#000000##FFFFFF
##6B30AA1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b30aa;
/* rgb */ color: rgb(107, 48, 170);
/* oklch */ color: oklch(45.6% 0.184 301.4);
Tailwind
colors: {
  custom: {
    50: '#9b6dc4',
    500: '#6b30aa',
    950: '#000000',
  },
}
SCSS
$custom: #6b30aa;
$custom-light: #9b6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b30aa",
  "rgb": {
    "r": 107,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 269.016,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45551,
    "c": 0.18428,
    "h": 301.4
  },
  "luminance": 0.08142
}

Semantic roles & 50–950 ramp

primary
#6B30AA
secondary
#9CC274
accent
#DF4996
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6B30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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