#6A30AF#6A30AF

#6A30AF is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.190 H 299.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#6A30AF
RGBrgb(106, 48, 175)
HSLhsl(267, 57%, 44%)
HSVhsv(267, 73%, 69%)
CMYKcmyk(39.4%, 72.6%, 0%, 31.4%)
CIE-LABlab(34.55, 50.74, -57.71)
CIE-LCHlch(34.55, 76.85, 311.32°)
OKLaboklab(45.84% 0.0938 -0.1647)
OKLCHoklch(45.84% 0.19 299.6)
XYZxyz(14.7367, 8.2731, 41.3696)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A30AF #75AF30
analogous
#3035AF #6A30AF #A930AF
triadic
#6A30AF #AF6A30 #30AF6A
tetradic
#6A30AF #AF3035 #75AF30 #30AFA9
square
#6A30AF #AF3035 #75AF30 #30AFA9
split-complementary
#6A30AF #AFA930 #35AF30
monochromatic
#30164F #4D237F #6A30AF #894ECE #A97EDC

Accessibility & contrast

On white

7.91
#6A30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A30AF
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A30AF#FFFFFF#000000##FFFFFF
##6A30AF1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#5A506C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a30af;
/* rgb */ color: rgb(106, 48, 175);
/* oklch */ color: oklch(45.8% 0.190 299.6);
Tailwind
colors: {
  custom: {
    50: '#9b6ec8',
    500: '#6a30af',
    950: '#000000',
  },
}
SCSS
$custom: #6a30af;
$custom-light: #9b6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a30af",
  "rgb": {
    "r": 106,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 267.402,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45837,
    "c": 0.18956,
    "h": 299.6
  },
  "luminance": 0.08273
}

Semantic roles & 50–950 ramp

primary
#6A30AF
secondary
#A1C476
accent
#E0489B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6A30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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