#6E30B6#6E30B6

#6E30B6 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.198 H 299.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6E30B6
RGBrgb(110, 48, 182)
HSLhsl(268, 58%, 45%)
HSVhsv(268, 74%, 71%)
CMYKcmyk(39.6%, 73.6%, 0%, 28.6%)
CIE-LABlab(35.61, 53.22, -60.11)
CIE-LCHlch(35.61, 80.29, 311.52°)
OKLaboklab(46.88% 0.0981 -0.1717)
OKLCHoklch(46.88% 0.198 299.7)
XYZxyz(15.9287, 8.8061, 45.1074)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30B6 #78B630
analogous
#3035B6 #6E30B6 #B130B6
triadic
#6E30B6 #B66E30 #30B66E
tetradic
#6E30B6 #B63035 #78B630 #30B6B1
square
#6E30B6 #B63035 #78B630 #30B6B1
split-complementary
#6E30B6 #B6B130 #35B630
monochromatic
#331655 #512386 #6E30B6 #8D52D1 #AD82DE

Accessibility & contrast

On white

7.61
#6E30B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6E30B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30B6
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30B6#FFFFFF#000000##FFFFFF
##6E30B61.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#5D5270
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6e30b6;
/* rgb */ color: rgb(110, 48, 182);
/* oklch */ color: oklch(46.9% 0.198 299.7);
Tailwind
colors: {
  custom: {
    50: '#9e6ecd',
    500: '#6e30b6',
    950: '#000000',
  },
}
SCSS
$custom: #6e30b6;
$custom-light: #9e6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30b6",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 267.761,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46875,
    "c": 0.19771,
    "h": 299.7
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#6E30B6
secondary
#A4C77B
accent
#E1469A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E30B6

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

Preview Lab → · Contrast checker → · Palette generator →

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