#6C30B2#6C30B2

#6C30B2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.193 H 299.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#6C30B2
RGBrgb(108, 48, 178)
HSLhsl(268, 58%, 44%)
HSVhsv(268, 73%, 70%)
CMYKcmyk(39.3%, 73%, 0%, 30.2%)
CIE-LABlab(35.04, 51.86, -58.69)
CIE-LCHlch(35.04, 78.32, 311.47°)
OKLaboklab(46.32% 0.096 -0.1675)
OKLCHoklch(46.32% 0.193 299.8)
XYZxyz(15.2752, 8.5162, 42.9499)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C30B2 #76B230
analogous
#3035B2 #6C30B2 #AD30B2
triadic
#6C30B2 #B26C30 #30B26C
tetradic
#6C30B2 #B23035 #76B230 #30B2AD
square
#6C30B2 #B23035 #76B230 #30B2AD
split-complementary
#6C30B2 #B2AD30 #35B230
monochromatic
#321652 #4F2382 #6C30B2 #8B50D0 #AB80DD

Accessibility & contrast

On white

7.77
#6C30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C30B2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C30B2#FFFFFF#000000##FFFFFF
##6C30B21.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#5C516E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6c30b2;
/* rgb */ color: rgb(108, 48, 178);
/* oklch */ color: oklch(46.3% 0.193 299.8);
Tailwind
colors: {
  custom: {
    50: '#9c6eca',
    500: '#6c30b2',
    950: '#000000',
  },
}
SCSS
$custom: #6c30b2;
$custom-light: #9c6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c30b2",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 267.692,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46315,
    "c": 0.19311,
    "h": 299.8
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

primary
#6C30B2
secondary
#A2C678
accent
#E1479A
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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