#6C30B7#6C30B7

#6C30B7 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.199 H 298.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#6C30B7
RGBrgb(108, 48, 183)
HSLhsl(267, 58%, 45%)
HSVhsv(267, 74%, 72%)
CMYKcmyk(41%, 73.8%, 0%, 28.2%)
CIE-LABlab(35.44, 53.12, -60.99)
CIE-LCHlch(35.44, 80.88, 311.05°)
OKLaboklab(46.73% 0.0949 -0.1743)
OKLCHoklch(46.73% 0.199 298.6)
XYZxyz(15.7864, 8.7207, 45.6421)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C30B7 #7BB730
analogous
#3037B7 #6C30B7 #B030B7
triadic
#6C30B7 #B76C30 #30B76C
tetradic
#6C30B7 #B73037 #7BB730 #30B7B0
square
#6C30B7 #B73037 #7BB730 #30B7B0
split-complementary
#6C30B7 #B7B030 #37B730
monochromatic
#331756 #4F2387 #6C30B7 #8B52D2 #AC83DE

Accessibility & contrast

On white

7.65
#6C30B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C30B7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C30B7#FFFFFF#000000##FFFFFF
##6C30B71.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#5A5371
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c30b7;
/* rgb */ color: rgb(108, 48, 183);
/* oklch */ color: oklch(46.7% 0.199 298.6);
Tailwind
colors: {
  custom: {
    50: '#9d6ece',
    500: '#6c30b7',
    950: '#000000',
  },
}
SCSS
$custom: #6c30b7;
$custom-light: #9d6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6c30b7",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 266.667,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46727,
    "c": 0.1985,
    "h": 298.6
  },
  "luminance": 0.08721
}

Semantic roles & 50–950 ramp

primary
#6C30B7
secondary
#A6C87B
accent
#E2469D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6C30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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