#6A30AA#6A30AA

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

Color values

HEX#6A30AA
RGBrgb(106, 48, 170)
HSLhsl(269, 56%, 43%)
HSVhsv(269, 72%, 67%)
CMYKcmyk(37.6%, 71.8%, 0%, 33.3%)
CIE-LABlab(34.15, 49.49, -55.37)
CIE-LCHlch(34.15, 74.26, 311.79°)
OKLaboklab(45.43% 0.0947 -0.1579)
OKLCHoklch(45.43% 0.184 301)
XYZxyz(14.2547, 8.0803, 38.8311)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A30AA #70AA30
analogous
#3033AA #6A30AA #A730AA
triadic
#6A30AA #AA6A30 #30AA6A
tetradic
#6A30AA #AA3033 #70AA30 #30AAA7
square
#6A30AA #AA3033 #70AA30 #30AAA7
split-complementary
#6A30AA #AAA730 #33AA30
monochromatic
#2E154B #4C237A #6A30AA #884BCC #A87BDA

Accessibility & contrast

On white

8.03
#6A30AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6A30AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A30AA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A30AA#FFFFFF#000000##FFFFFF
##6A30AA1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a30aa;
/* rgb */ color: rgb(106, 48, 170);
/* oklch */ color: oklch(45.4% 0.184 301.0);
Tailwind
colors: {
  custom: {
    50: '#9a6dc4',
    500: '#6a30aa',
    950: '#000000',
  },
}
SCSS
$custom: #6a30aa;
$custom-light: #9a6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a30aa",
  "rgb": {
    "r": 106,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 268.525,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45433,
    "c": 0.1841,
    "h": 301
  },
  "luminance": 0.0808
}

Semantic roles & 50–950 ramp

primary
#6A30AA
secondary
#9DC274
accent
#DF4998
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6A30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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