#6E30AA#6E30AA

#6E30AA is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.185 H 302.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6E30AA
RGBrgb(110, 48, 170)
HSLhsl(270, 56%, 43%)
HSVhsv(270, 72%, 67%)
CMYKcmyk(35.3%, 71.8%, 0%, 33.3%)
CIE-LABlab(34.66, 50.26, -54.51)
CIE-LCHlch(34.66, 74.14, 312.68°)
OKLaboklab(45.91% 0.1004 -0.1552)
OKLCHoklch(45.91% 0.185 302.9)
XYZxyz(14.7414, 8.3312, 38.8539)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30AA #6CAA30
analogous
#3130AA #6E30AA #AA30A9
triadic
#6E30AA #AA6E30 #30AA6E
tetradic
#6E30AA #AA3130 #6CAA30 #30A9AA
square
#6E30AA #AA3130 #6CAA30 #30A9AA
split-complementary
#6E30AA #A9AA30 #30AA31
monochromatic
#30154B #4F237A #6E30AA #8D4BCC #AB7BDA

Accessibility & contrast

On white

7.88
#6E30AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6E30AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30AA
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30AA#FFFFFF#000000##FFFFFF
##6E30AA1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#624D6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e30aa;
/* rgb */ color: rgb(110, 48, 170);
/* oklch */ color: oklch(45.9% 0.185 302.9);
Tailwind
colors: {
  custom: {
    50: '#9d6ec4',
    500: '#6e30aa',
    950: '#000000',
  },
}
SCSS
$custom: #6e30aa;
$custom-light: #9d6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30aa",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 270.492,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4591,
    "c": 0.18485,
    "h": 302.9
  },
  "luminance": 0.08331
}

Semantic roles & 50–950 ramp

primary
#6E30AA
secondary
#9AC274
accent
#DF4993
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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