#6C30BA#6C30BA

#6C30BA is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.202 H 297.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#6C30BA
RGBrgb(108, 48, 186)
HSLhsl(266, 59%, 46%)
HSVhsv(266, 74%, 73%)
CMYKcmyk(41.9%, 74.2%, 0%, 27.1%)
CIE-LABlab(35.69, 53.87, -62.36)
CIE-LCHlch(35.69, 82.40, 310.82°)
OKLaboklab(46.98% 0.0943 -0.1783)
OKLCHoklch(46.98% 0.202 297.9)
XYZxyz(16.1019, 8.8469, 47.3041)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C30BA #7EBA30
analogous
#3039BA #6C30BA #B130BA
triadic
#6C30BA #BA6C30 #30BA6C
tetradic
#6C30BA #BA3039 #7EBA30 #30BAB1
square
#6C30BA #BA3039 #7EBA30 #30BAB1
split-complementary
#6C30BA #BAB130 #39BA30
monochromatic
#341759 #502389 #6C30BA #8B54D3 #AC85DF

Accessibility & contrast

On white

7.58
#6C30BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6C30BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C30BA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C30BA#FFFFFF#000000##FFFFFF
##6C30BA1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#585473
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6c30ba;
/* rgb */ color: rgb(108, 48, 186);
/* oklch */ color: oklch(47.0% 0.202 297.9);
Tailwind
colors: {
  custom: {
    50: '#9d6ed0',
    500: '#6c30ba',
    950: '#000000',
  },
}
SCSS
$custom: #6c30ba;
$custom-light: #9d6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c30ba",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 266.087,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46978,
    "c": 0.20172,
    "h": 297.9
  },
  "luminance": 0.08847
}

Semantic roles & 50–950 ramp

primary
#6C30BA
secondary
#A8C97D
accent
#E2469E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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