#6C30C5#6C30C5

#6C30C5 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.213 H 295.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6C30C5
RGBrgb(108, 48, 197)
HSLhsl(264, 61%, 48%)
HSVhsv(264, 76%, 77%)
CMYKcmyk(45.2%, 75.6%, 0%, 22.7%)
CIE-LABlab(36.62, 56.65, -67.30)
CIE-LCHlch(36.62, 87.97, 310.09°)
OKLaboklab(47.92% 0.0916 -0.1928)
OKLCHoklch(47.92% 0.213 295.4)
XYZxyz(17.3166, 9.3328, 53.7015)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C30C5 #89C530
analogous
#303FC5 #6C30C5 #B630C5
triadic
#6C30C5 #C56C30 #30C56C
tetradic
#6C30C5 #C5303F #89C530 #30C5B6
square
#6C30C5 #C5303F #89C530 #30C5B6
split-complementary
#6C30C5 #C5B630 #3FC530
monochromatic
#361863 #512494 #6C30C5 #8D5BD7 #AF8CE3

Accessibility & contrast

On white

7.33
#6C30C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6C30C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C30C5
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C30C5#FFFFFF#000000##FFFFFF
##6C30C51.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#535879
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6c30c5;
/* rgb */ color: rgb(108, 48, 197);
/* oklch */ color: oklch(47.9% 0.213 295.4);
Tailwind
colors: {
  custom: {
    50: '#9e6fd8',
    500: '#6c30c5',
    950: '#000000',
  },
}
SCSS
$custom: #6c30c5;
$custom-light: #9e6fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c30c5",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 264.161,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47918,
    "c": 0.21347,
    "h": 295.4
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#6C30C5
secondary
#B0CD84
accent
#E444A3
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6C30C5

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

Preview Lab → · Contrast checker → · Palette generator →

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