#6E30A6#6E30A6

#6E30A6 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.181 H 304.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#6E30A6
RGBrgb(110, 48, 166)
HSLhsl(272, 55%, 42%)
HSVhsv(272, 71%, 65%)
CMYKcmyk(33.7%, 71.1%, 0%, 34.9%)
CIE-LABlab(34.36, 49.29, -52.60)
CIE-LCHlch(34.36, 72.09, 313.14°)
OKLaboklab(45.6% 0.1011 -0.1496)
OKLCHoklch(45.6% 0.181 304)
XYZxyz(14.3687, 8.1821, 36.8913)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30A6 #68A630
analogous
#3330A6 #6E30A6 #A630A3
triadic
#6E30A6 #A66E30 #30A66E
tetradic
#6E30A6 #A63330 #68A630 #30A3A6
square
#6E30A6 #A63330 #68A630 #30A3A6
split-complementary
#6E30A6 #A3A630 #30A633
monochromatic
#2F1547 #4F2277 #6E30A6 #8D49CA #AB78D8

Accessibility & contrast

On white

7.97
#6E30A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6E30A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30A6
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30A6#FFFFFF#000000##FFFFFF
##6E30A61.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#634C68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e30a6;
/* rgb */ color: rgb(110, 48, 166);
/* oklch */ color: oklch(45.6% 0.181 304.0);
Tailwind
colors: {
  custom: {
    50: '#9c6ec1',
    500: '#6e30a6',
    950: '#000000',
  },
}
SCSS
$custom: #6e30a6;
$custom-light: #9c6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30a6",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 271.525,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45599,
    "c": 0.18055,
    "h": 304
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#6E30A6
secondary
#97C071
accent
#DE4990
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E30A6

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

Preview Lab → · Contrast checker → · Palette generator →

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