#6E30B0#6E30B0

#6E30B0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.191 H 301.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6E30B0
RGBrgb(110, 48, 176)
HSLhsl(269, 57%, 44%)
HSVhsv(269, 73%, 69%)
CMYKcmyk(37.5%, 72.7%, 0%, 31%)
CIE-LABlab(35.13, 51.73, -57.33)
CIE-LCHlch(35.13, 77.22, 312.06°)
OKLaboklab(46.39% 0.0993 -0.1635)
OKLCHoklch(46.39% 0.191 301.3)
XYZxyz(15.3219, 8.5634, 41.9116)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30B0 #72B030
analogous
#3032B0 #6E30B0 #AE30B0
triadic
#6E30B0 #B06E30 #30B06E
tetradic
#6E30B0 #B03032 #72B030 #30B0AE
square
#6E30B0 #B03032 #72B030 #30B0AE
split-complementary
#6E30B0 #B0AE30 #32B030
monochromatic
#321650 #502380 #6E30B0 #8D4ECF #AC7EDC

Accessibility & contrast

On white

7.74
#6E30B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6E30B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30B0
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30B0#FFFFFF#000000##FFFFFF
##6E30B01.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#60506D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e30b0;
/* rgb */ color: rgb(110, 48, 176);
/* oklch */ color: oklch(46.4% 0.191 301.3);
Tailwind
colors: {
  custom: {
    50: '#9d6ec8',
    500: '#6e30b0',
    950: '#000000',
  },
}
SCSS
$custom: #6e30b0;
$custom-light: #9d6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30b0",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 269.063,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46387,
    "c": 0.19129,
    "h": 301.3
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#6E30B0
secondary
#9FC577
accent
#E04796
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E30B0

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

Preview Lab → · Contrast checker → · Palette generator →

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