#6C30B0#6C30B0

#6C30B0 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.191 H 300.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6C30B0
RGBrgb(108, 48, 176)
HSLhsl(268, 57%, 44%)
HSVhsv(268, 73%, 69%)
CMYKcmyk(38.6%, 72.7%, 0%, 31%)
CIE-LABlab(34.88, 51.36, -57.76)
CIE-LCHlch(34.88, 77.29, 311.65°)
OKLaboklab(46.15% 0.0964 -0.1648)
OKLCHoklch(46.15% 0.191 300.3)
XYZxyz(15.0758, 8.4365, 41.9000)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C30B0 #74B030
analogous
#3034B0 #6C30B0 #AC30B0
triadic
#6C30B0 #B06C30 #30B06C
tetradic
#6C30B0 #B03034 #74B030 #30B0AC
square
#6C30B0 #B03034 #74B030 #30B0AC
split-complementary
#6C30B0 #B0AC30 #34B030
monochromatic
#311650 #4E2380 #6C30B0 #8B4ECF #AA7EDC

Accessibility & contrast

On white

7.81
#6C30B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6C30B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C30B0
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C30B0#FFFFFF#000000##FFFFFF
##6C30B01.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#5D506D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6c30b0;
/* rgb */ color: rgb(108, 48, 176);
/* oklch */ color: oklch(46.2% 0.191 300.3);
Tailwind
colors: {
  custom: {
    50: '#9c6ec8',
    500: '#6c30b0',
    950: '#000000',
  },
}
SCSS
$custom: #6c30b0;
$custom-light: #9c6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c30b0",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 268.125,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46152,
    "c": 0.19096,
    "h": 300.3
  },
  "luminance": 0.08437
}

Semantic roles & 50–950 ramp

primary
#6C30B0
secondary
#A0C577
accent
#E04799
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C30B0

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

Preview Lab → · Contrast checker → · Palette generator →

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