#6C30BD#6C30BD

#6C30BD is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.205 H 297.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6C30BD
RGBrgb(108, 48, 189)
HSLhsl(266, 59%, 46%)
HSVhsv(266, 75%, 74%)
CMYKcmyk(42.9%, 74.6%, 0%, 25.9%)
CIE-LABlab(35.94, 54.63, -63.72)
CIE-LCHlch(35.94, 83.93, 310.61°)
OKLaboklab(47.23% 0.0935 -0.1823)
OKLCHoklch(47.23% 0.205 297.2)
XYZxyz(16.4242, 8.9759, 49.0014)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C30BD #81BD30
analogous
#303ABD #6C30BD #B330BD
triadic
#6C30BD #BD6C30 #30BD6C
tetradic
#6C30BD #BD303A #81BD30 #30BDB3
square
#6C30BD #BD303A #81BD30 #30BDB3
split-complementary
#6C30BD #BDB330 #3ABD30
monochromatic
#34175B #50248C #6C30BD #8C56D4 #AD87E0

Accessibility & contrast

On white

7.51
#6C30BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6C30BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C30BD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C30BD#FFFFFF#000000##FFFFFF
##6C30BD1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#575574
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c30bd;
/* rgb */ color: rgb(108, 48, 189);
/* oklch */ color: oklch(47.2% 0.205 297.2);
Tailwind
colors: {
  custom: {
    50: '#9d6ed2',
    500: '#6c30bd',
    950: '#000000',
  },
}
SCSS
$custom: #6c30bd;
$custom-light: #9d6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c30bd",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 265.532,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47231,
    "c": 0.20494,
    "h": 297.2
  },
  "luminance": 0.08976
}

Semantic roles & 50–950 ramp

primary
#6C30BD
secondary
#AACA7F
accent
#E345A0
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6C30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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