#6E30B1#6E30B1

#6E30B1 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.192 H 301.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#6E30B1
RGBrgb(110, 48, 177)
HSLhsl(269, 57%, 44%)
HSVhsv(269, 73%, 69%)
CMYKcmyk(37.9%, 72.9%, 0%, 30.6%)
CIE-LABlab(35.21, 51.98, -57.80)
CIE-LCHlch(35.21, 77.73, 311.97°)
OKLaboklab(46.47% 0.0991 -0.1649)
OKLCHoklch(46.47% 0.192 301)
XYZxyz(15.4212, 8.6031, 42.4346)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30B1 #73B130
analogous
#3033B1 #6E30B1 #AF30B1
triadic
#6E30B1 #B16E30 #30B16E
tetradic
#6E30B1 #B13033 #73B130 #30B1AF
square
#6E30B1 #B13033 #73B130 #30B1AF
split-complementary
#6E30B1 #B1AF30 #33B130
monochromatic
#321651 #502381 #6E30B1 #8D4FCF #AC7FDC

Accessibility & contrast

On white

7.72
#6E30B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6E30B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30B1
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30B1#FFFFFF#000000##FFFFFF
##6E30B11.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#5F506E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e30b1;
/* rgb */ color: rgb(110, 48, 177);
/* oklch */ color: oklch(46.5% 0.192 301.0);
Tailwind
colors: {
  custom: {
    50: '#9d6ec9',
    500: '#6e30b1',
    950: '#000000',
  },
}
SCSS
$custom: #6e30b1;
$custom-light: #9d6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30b1",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 268.837,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46468,
    "c": 0.19236,
    "h": 301
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#6E30B1
secondary
#A0C578
accent
#E14797
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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