#6C30B3#6C30B3

#6C30B3 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.194 H 299.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#6C30B3
RGBrgb(108, 48, 179)
HSLhsl(267, 58%, 45%)
HSVhsv(267, 73%, 70%)
CMYKcmyk(39.7%, 73.2%, 0%, 29.8%)
CIE-LABlab(35.12, 52.11, -59.15)
CIE-LCHlch(35.12, 78.83, 311.38°)
OKLaboklab(46.4% 0.0958 -0.1689)
OKLCHoklch(46.4% 0.194 299.6)
XYZxyz(15.3759, 8.5565, 43.4806)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C30B3 #77B330
analogous
#3036B3 #6C30B3 #AE30B3
triadic
#6C30B3 #B36C30 #30B36C
tetradic
#6C30B3 #B33036 #77B330 #30B3AE
square
#6C30B3 #B33036 #77B330 #30B3AE
split-complementary
#6C30B3 #B3AE30 #36B330
monochromatic
#321652 #4F2383 #6C30B3 #8B50D0 #AB80DD

Accessibility & contrast

On white

7.75
#6C30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6C30B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C30B3
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C30B3#FFFFFF#000000##FFFFFF
##6C30B31.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#5B516F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c30b3;
/* rgb */ color: rgb(108, 48, 179);
/* oklch */ color: oklch(46.4% 0.194 299.6);
Tailwind
colors: {
  custom: {
    50: '#9c6ecb',
    500: '#6c30b3',
    950: '#000000',
  },
}
SCSS
$custom: #6c30b3;
$custom-light: #9c6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c30b3",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 267.481,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46396,
    "c": 0.19419,
    "h": 299.6
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#6C30B3
secondary
#A3C679
accent
#E1479A
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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