#6E30B5#6E30B5

#6E30B5 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.197 H 300.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#6E30B5
RGBrgb(110, 48, 181)
HSLhsl(268, 58%, 45%)
HSVhsv(268, 73%, 71%)
CMYKcmyk(39.2%, 73.5%, 0%, 29%)
CIE-LABlab(35.53, 52.97, -59.65)
CIE-LCHlch(35.53, 79.78, 311.60°)
OKLaboklab(46.79% 0.0983 -0.1703)
OKLCHoklch(46.79% 0.197 300)
XYZxyz(15.8258, 8.7649, 44.5651)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30B5 #77B530
analogous
#3034B5 #6E30B5 #B130B5
triadic
#6E30B5 #B56E30 #30B56E
tetradic
#6E30B5 #B53034 #77B530 #30B5B1
square
#6E30B5 #B53034 #77B530 #30B5B1
split-complementary
#6E30B5 #B5B130 #34B530
monochromatic
#331654 #512385 #6E30B5 #8D51D1 #AD82DE

Accessibility & contrast

On white

7.63
#6E30B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6E30B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30B5
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30B5#FFFFFF#000000##FFFFFF
##6E30B51.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#5E5270
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6e30b5;
/* rgb */ color: rgb(110, 48, 181);
/* oklch */ color: oklch(46.8% 0.197 300.0);
Tailwind
colors: {
  custom: {
    50: '#9e6ecc',
    500: '#6e30b5',
    950: '#000000',
  },
}
SCSS
$custom: #6e30b5;
$custom-light: #9e6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30b5",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 267.97,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46793,
    "c": 0.19664,
    "h": 300
  },
  "luminance": 0.08765
}

Semantic roles & 50–950 ramp

primary
#6E30B5
secondary
#A3C77A
accent
#E14699
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E30B5

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

Preview Lab → · Contrast checker → · Palette generator →

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