#6E30AE#6E30AE

#6E30AE is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.189 H 301.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6E30AE
RGBrgb(110, 48, 174)
HSLhsl(270, 57%, 44%)
HSVhsv(270, 72%, 68%)
CMYKcmyk(36.8%, 72.4%, 0%, 31.8%)
CIE-LABlab(34.97, 51.24, -56.39)
CIE-LCHlch(34.97, 76.20, 312.26°)
OKLaboklab(46.23% 0.0997 -0.1607)
OKLCHoklch(46.23% 0.189 301.8)
XYZxyz(15.1255, 8.4848, 40.8771)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30AE #70AE30
analogous
#3031AE #6E30AE #AD30AE
triadic
#6E30AE #AE6E30 #30AE6E
tetradic
#6E30AE #AE3031 #70AE30 #30AEAD
square
#6E30AE #AE3031 #70AE30 #30AEAD
split-complementary
#6E30AE #AEAD30 #31AE30
monochromatic
#31164E #50237E #6E30AE #8D4DCE #AB7DDB

Accessibility & contrast

On white

7.79
#6E30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6E30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30AE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30AE#FFFFFF#000000##FFFFFF
##6E30AE1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#604F6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6e30ae;
/* rgb */ color: rgb(110, 48, 174);
/* oklch */ color: oklch(46.2% 0.189 301.8);
Tailwind
colors: {
  custom: {
    50: '#9d6ec7',
    500: '#6e30ae',
    950: '#000000',
  },
}
SCSS
$custom: #6e30ae;
$custom-light: #9d6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30ae",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 269.524,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46227,
    "c": 0.18915,
    "h": 301.8
  },
  "luminance": 0.08485
}

Semantic roles & 50–950 ramp

primary
#6E30AE
secondary
#9EC476
accent
#E04895
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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