#6E30A4#6E30A4

#6E30A4 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.178 H 304.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6E30A4
RGBrgb(110, 48, 164)
HSLhsl(272, 55%, 42%)
HSVhsv(272, 71%, 64%)
CMYKcmyk(32.9%, 70.7%, 0%, 35.7%)
CIE-LABlab(34.21, 48.81, -51.64)
CIE-LCHlch(34.21, 71.06, 313.38°)
OKLaboklab(45.45% 0.1014 -0.1468)
OKLCHoklch(45.45% 0.178 304.6)
XYZxyz(14.1867, 8.1093, 35.9326)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30A4 #66A430
analogous
#3430A4 #6E30A4 #A430A0
triadic
#6E30A4 #A46E30 #30A46E
tetradic
#6E30A4 #A43430 #66A430 #30A0A4
square
#6E30A4 #A43430 #66A430 #30A0A4
split-complementary
#6E30A4 #A0A430 #30A434
monochromatic
#2E1445 #4E2275 #6E30A4 #8D48C9 #AB77D7

Accessibility & contrast

On white

8.01
#6E30A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6E30A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30A4
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30A4#FFFFFF#000000##FFFFFF
##6E30A41.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#644B66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e30a4;
/* rgb */ color: rgb(110, 48, 164);
/* oklch */ color: oklch(45.4% 0.178 304.6);
Tailwind
colors: {
  custom: {
    50: '#9c6dc0',
    500: '#6e30a4',
    950: '#000000',
  },
}
SCSS
$custom: #6e30a4;
$custom-light: #9c6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30a4",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 272.069,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45445,
    "c": 0.1784,
    "h": 304.6
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#6E30A4
secondary
#95BF70
accent
#DE4A8F
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E30A4

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

Preview Lab → · Contrast checker → · Palette generator →

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