#6E30A2#6E30A2

#6E30A2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.176 H 305.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6E30A2
RGBrgb(110, 48, 162)
HSLhsl(273, 54%, 41%)
HSVhsv(273, 70%, 64%)
CMYKcmyk(32.1%, 70.4%, 0%, 36.5%)
CIE-LABlab(34.06, 48.33, -50.68)
CIE-LCHlch(34.06, 70.02, 313.64°)
OKLaboklab(45.29% 0.1017 -0.1439)
OKLCHoklch(45.29% 0.176 305.2)
XYZxyz(14.0075, 8.0376, 34.9889)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30A2 #64A230
analogous
#3530A2 #6E30A2 #A2309D
triadic
#6E30A2 #A26E30 #30A26E
tetradic
#6E30A2 #A23530 #64A230 #309DA2
square
#6E30A2 #A23530 #64A230 #309DA2
split-complementary
#6E30A2 #9DA230 #30A235
monochromatic
#2E1444 #4E2273 #6E30A2 #8D47C8 #AA76D6

Accessibility & contrast

On white

8.05
#6E30A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6E30A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30A2
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30A2#FFFFFF#000000##FFFFFF
##6E30A21.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0150A0
Tritanopia (blue-blind)
#654A65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e30a2;
/* rgb */ color: rgb(110, 48, 162);
/* oklch */ color: oklch(45.3% 0.176 305.2);
Tailwind
colors: {
  custom: {
    50: '#9c6dbe',
    500: '#6e30a2',
    950: '#000000',
  },
}
SCSS
$custom: #6e30a2;
$custom-light: #9c6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30a2",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 272.632,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45292,
    "c": 0.17624,
    "h": 305.2
  },
  "luminance": 0.08038
}

Semantic roles & 50–950 ramp

primary
#6E30A2
secondary
#93BE6F
accent
#DE4A8D
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E30A2

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

Preview Lab → · Contrast checker → · Palette generator →

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