#6C30B9#6C30B9

#6C30B9 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.9% C 0.201 H 298.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6C30B9
RGBrgb(108, 48, 185)
HSLhsl(266, 59%, 46%)
HSVhsv(266, 74%, 73%)
CMYKcmyk(41.6%, 74.1%, 0%, 27.5%)
CIE-LABlab(35.61, 53.62, -61.90)
CIE-LCHlch(35.61, 81.90, 310.90°)
OKLaboklab(46.89% 0.0945 -0.177)
OKLCHoklch(46.89% 0.201 298.1)
XYZxyz(15.9960, 8.8046, 46.7462)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C30B9 #7DB930
analogous
#3039B9 #6C30B9 #B030B9
triadic
#6C30B9 #B96C30 #30B96C
tetradic
#6C30B9 #B93039 #7DB930 #30B9B0
square
#6C30B9 #B93039 #7DB930 #30B9B0
split-complementary
#6C30B9 #B9B030 #39B930
monochromatic
#331758 #502388 #6C30B9 #8B54D3 #AC84DF

Accessibility & contrast

On white

7.61
#6C30B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6C30B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C30B9
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C30B9#FFFFFF#000000##FFFFFF
##6C30B91.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#595372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6c30b9;
/* rgb */ color: rgb(108, 48, 185);
/* oklch */ color: oklch(46.9% 0.201 298.1);
Tailwind
colors: {
  custom: {
    50: '#9d6ecf',
    500: '#6c30b9',
    950: '#000000',
  },
}
SCSS
$custom: #6c30b9;
$custom-light: #9d6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c30b9",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 266.277,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46894,
    "c": 0.20065,
    "h": 298.1
  },
  "luminance": 0.08805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C30B9

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

Preview Lab → · Contrast checker → · Palette generator →

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