#6E30B4#6E30B4

#6E30B4 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.196 H 300.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#6E30B4
RGBrgb(110, 48, 180)
HSLhsl(268, 58%, 45%)
HSVhsv(268, 73%, 71%)
CMYKcmyk(38.9%, 73.3%, 0%, 29.4%)
CIE-LABlab(35.45, 52.72, -59.19)
CIE-LCHlch(35.45, 79.27, 311.69°)
OKLaboklab(46.71% 0.0985 -0.169)
OKLCHoklch(46.71% 0.196 300.2)
XYZxyz(15.7235, 8.7240, 44.0267)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30B4 #76B430
analogous
#3034B4 #6E30B4 #B030B4
triadic
#6E30B4 #B46E30 #30B46E
tetradic
#6E30B4 #B43034 #76B430 #30B4B0
square
#6E30B4 #B43034 #76B430 #30B4B0
split-complementary
#6E30B4 #B4B030 #34B430
monochromatic
#331653 #502384 #6E30B4 #8D51D1 #AC81DD

Accessibility & contrast

On white

7.65
#6E30B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6E30B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30B4
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30B4#FFFFFF#000000##FFFFFF
##6E30B41.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#5E516F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e30b4;
/* rgb */ color: rgb(110, 48, 180);
/* oklch */ color: oklch(46.7% 0.196 300.2);
Tailwind
colors: {
  custom: {
    50: '#9e6ecb',
    500: '#6e30b4',
    950: '#000000',
  },
}
SCSS
$custom: #6e30b4;
$custom-light: #9e6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30b4",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 268.182,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46711,
    "c": 0.19557,
    "h": 300.2
  },
  "luminance": 0.08724
}

Semantic roles & 50–950 ramp

primary
#6E30B4
secondary
#A2C679
accent
#E14799
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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