#6E30B7#6E30B7

#6E30B7 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 47.0% C 0.199 H 299.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#6E30B7
RGBrgb(110, 48, 183)
HSLhsl(268, 58%, 45%)
HSVhsv(268, 74%, 72%)
CMYKcmyk(39.9%, 73.8%, 0%, 28.2%)
CIE-LABlab(35.69, 53.47, -60.57)
CIE-LCHlch(35.69, 80.79, 311.43°)
OKLaboklab(46.96% 0.0978 -0.173)
OKLCHoklch(46.96% 0.199 299.5)
XYZxyz(16.0325, 8.8476, 45.6537)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30B7 #79B730
analogous
#3035B7 #6E30B7 #B230B7
triadic
#6E30B7 #B76E30 #30B76E
tetradic
#6E30B7 #B73035 #79B730 #30B7B2
square
#6E30B7 #B73035 #79B730 #30B7B2
split-complementary
#6E30B7 #B7B230 #35B730
monochromatic
#341756 #512387 #6E30B7 #8D52D2 #AD83DE

Accessibility & contrast

On white

7.58
#6E30B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6E30B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30B7
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30B7#FFFFFF#000000##FFFFFF
##6E30B71.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#5D5271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6e30b7;
/* rgb */ color: rgb(110, 48, 183);
/* oklch */ color: oklch(47.0% 0.199 299.5);
Tailwind
colors: {
  custom: {
    50: '#9e6ece',
    500: '#6e30b7',
    950: '#000000',
  },
}
SCSS
$custom: #6e30b7;
$custom-light: #9e6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30b7",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 267.556,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46957,
    "c": 0.19877,
    "h": 299.5
  },
  "luminance": 0.08848
}

Semantic roles & 50–950 ramp

primary
#6E30B7
secondary
#A5C87B
accent
#E2469A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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