#6E30AD#6E30AD

#6E30AD is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.188 H 302.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6E30AD
RGBrgb(110, 48, 173)
HSLhsl(270, 57%, 43%)
HSVhsv(270, 72%, 68%)
CMYKcmyk(36.4%, 72.3%, 0%, 32.2%)
CIE-LABlab(34.90, 51.00, -55.92)
CIE-LCHlch(34.90, 75.69, 312.36°)
OKLaboklab(46.15% 0.0999 -0.1594)
OKLCHoklch(46.15% 0.188 302.1)
XYZxyz(15.0284, 8.4460, 40.3656)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30AD #6FAD30
analogous
#3030AD #6E30AD #AC30AD
triadic
#6E30AD #AD6E30 #30AD6E
tetradic
#6E30AD #AD3030 #6FAD30 #30ADAC
square
#6E30AD #AD3030 #6FAD30 #30ADAC
split-complementary
#6E30AD #ADAC30 #30AD30
monochromatic
#31154D #50237D #6E30AD #8D4DCE #AB7DDB

Accessibility & contrast

On white

7.81
#6E30AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6E30AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30AD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30AD#FFFFFF#000000##FFFFFF
##6E30AD1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#614E6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6e30ad;
/* rgb */ color: rgb(110, 48, 173);
/* oklch */ color: oklch(46.1% 0.188 302.1);
Tailwind
colors: {
  custom: {
    50: '#9d6ec6',
    500: '#6e30ad',
    950: '#000000',
  },
}
SCSS
$custom: #6e30ad;
$custom-light: #9d6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30ad",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 173
  },
  "hsl": {
    "h": 269.76,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46147,
    "c": 0.18808,
    "h": 302.1
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#6E30AD
secondary
#9DC375
accent
#E04895
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E30AD

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

Preview Lab → · Contrast checker → · Palette generator →

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