#6E30AC#6E30AC

#6E30AC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.187 H 302.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#6E30AC
RGBrgb(110, 48, 172)
HSLhsl(270, 56%, 43%)
HSVhsv(270, 72%, 67%)
CMYKcmyk(36%, 72.1%, 0%, 32.5%)
CIE-LABlab(34.82, 50.75, -55.45)
CIE-LCHlch(34.82, 75.17, 312.47°)
OKLaboklab(46.07% 0.1001 -0.158)
OKLCHoklch(46.07% 0.187 302.3)
XYZxyz(14.9320, 8.4074, 39.8579)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30AC #6EAC30
analogous
#3030AC #6E30AC #AC30AC
triadic
#6E30AC #AC6E30 #30AC6E
tetradic
#6E30AC #AC3030 #6EAC30 #30ACAC
square
#6E30AC #AC3030 #6EAC30 #30ACAC
split-complementary
#6E30AC #ACAC30 #30AC30
monochromatic
#31154C #4F237C #6E30AC #8D4CCD #AB7CDA

Accessibility & contrast

On white

7.83
#6E30AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6E30AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30AC
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30AC#FFFFFF#000000##FFFFFF
##6E30AC1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#614E6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6e30ac;
/* rgb */ color: rgb(110, 48, 172);
/* oklch */ color: oklch(46.1% 0.187 302.3);
Tailwind
colors: {
  custom: {
    50: '#9d6ec6',
    500: '#6e30ac',
    950: '#000000',
  },
}
SCSS
$custom: #6e30ac;
$custom-light: #9d6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30ac",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 270,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46068,
    "c": 0.187,
    "h": 302.3
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#6E30AC
secondary
#9CC375
accent
#E04894
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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