#6C30B4#6C30B4

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

Color values

HEX#6C30B4
RGBrgb(108, 48, 180)
HSLhsl(267, 58%, 45%)
HSVhsv(267, 73%, 71%)
CMYKcmyk(40%, 73.3%, 0%, 29.4%)
CIE-LABlab(35.20, 52.36, -59.61)
CIE-LCHlch(35.20, 79.34, 311.30°)
OKLaboklab(46.48% 0.0956 -0.1703)
OKLCHoklch(46.48% 0.195 299.3)
XYZxyz(15.4774, 8.5971, 44.0152)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C30B4 #78B430
analogous
#3036B4 #6C30B4 #AE30B4
triadic
#6C30B4 #B46C30 #30B46C
tetradic
#6C30B4 #B43036 #78B430 #30B4AE
square
#6C30B4 #B43036 #78B430 #30B4AE
split-complementary
#6C30B4 #B4AE30 #36B430
monochromatic
#321653 #4F2384 #6C30B4 #8B51D1 #AB81DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C30B4#FFFFFF#000000##FFFFFF
##6C30B41.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)
#0053B8
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#5B516F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c30b4;
/* rgb */ color: rgb(108, 48, 180);
/* oklch */ color: oklch(46.5% 0.195 299.3);
Tailwind
colors: {
  custom: {
    50: '#9c6ecb',
    500: '#6c30b4',
    950: '#000000',
  },
}
SCSS
$custom: #6c30b4;
$custom-light: #9c6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c30b4",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 267.273,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46479,
    "c": 0.19527,
    "h": 299.3
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

primary
#6C30B4
secondary
#A3C679
accent
#E1479B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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