#6C30B1#6C30B1

#6C30B1 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.192 H 300.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6C30B1
RGBrgb(108, 48, 177)
HSLhsl(268, 57%, 44%)
HSVhsv(268, 73%, 69%)
CMYKcmyk(39%, 72.9%, 0%, 30.6%)
CIE-LABlab(34.96, 51.61, -58.22)
CIE-LCHlch(34.96, 77.80, 311.56°)
OKLaboklab(46.23% 0.0962 -0.1662)
OKLCHoklch(46.23% 0.192 300.1)
XYZxyz(15.1751, 8.4762, 42.4230)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C30B1 #75B130
analogous
#3035B1 #6C30B1 #AD30B1
triadic
#6C30B1 #B16C30 #30B16C
tetradic
#6C30B1 #B13035 #75B130 #30B1AD
square
#6C30B1 #B13035 #75B130 #30B1AD
split-complementary
#6C30B1 #B1AD30 #35B130
monochromatic
#311651 #4F2381 #6C30B1 #8B4FCF #AA7FDC

Accessibility & contrast

On white

7.79
#6C30B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6C30B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C30B1
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C30B1#FFFFFF#000000##FFFFFF
##6C30B11.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#5C506E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6c30b1;
/* rgb */ color: rgb(108, 48, 177);
/* oklch */ color: oklch(46.2% 0.192 300.1);
Tailwind
colors: {
  custom: {
    50: '#9c6ec9',
    500: '#6c30b1',
    950: '#000000',
  },
}
SCSS
$custom: #6c30b1;
$custom-light: #9c6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c30b1",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 267.907,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46233,
    "c": 0.19203,
    "h": 300.1
  },
  "luminance": 0.08476
}

Semantic roles & 50–950 ramp

primary
#6C30B1
secondary
#A1C578
accent
#E14799
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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