#6E30B3#6E30B3

#6E30B3 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.195 H 300.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6E30B3
RGBrgb(110, 48, 179)
HSLhsl(268, 58%, 45%)
HSVhsv(268, 73%, 70%)
CMYKcmyk(38.5%, 73.2%, 0%, 29.8%)
CIE-LABlab(35.37, 52.47, -58.73)
CIE-LCHlch(35.37, 78.76, 311.78°)
OKLaboklab(46.63% 0.0987 -0.1676)
OKLCHoklch(46.63% 0.195 300.5)
XYZxyz(15.6220, 8.6834, 43.4921)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30B3 #75B330
analogous
#3034B3 #6E30B3 #B030B3
triadic
#6E30B3 #B36E30 #30B36E
tetradic
#6E30B3 #B33034 #75B330 #30B3B0
square
#6E30B3 #B33034 #75B330 #30B3B0
split-complementary
#6E30B3 #B3B030 #34B330
monochromatic
#331652 #502383 #6E30B3 #8D50D0 #AC80DD

Accessibility & contrast

On white

7.67
#6E30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E30B3
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30B3#FFFFFF#000000##FFFFFF
##6E30B31.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e30b3;
/* rgb */ color: rgb(110, 48, 179);
/* oklch */ color: oklch(46.6% 0.195 300.5);
Tailwind
colors: {
  custom: {
    50: '#9e6ecb',
    500: '#6e30b3',
    950: '#000000',
  },
}
SCSS
$custom: #6e30b3;
$custom-light: #9e6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30b3",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 268.397,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4663,
    "c": 0.19451,
    "h": 300.5
  },
  "luminance": 0.08684
}

Semantic roles & 50–950 ramp

primary
#6E30B3
secondary
#A1C679
accent
#E14798
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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