#6C30BB#6C30BB

#6C30BB is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.203 H 297.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6C30BB
RGBrgb(108, 48, 187)
HSLhsl(266, 59%, 46%)
HSVhsv(266, 74%, 73%)
CMYKcmyk(42.2%, 74.3%, 0%, 26.7%)
CIE-LABlab(35.77, 54.12, -62.81)
CIE-LCHlch(35.77, 82.91, 310.75°)
OKLaboklab(47.06% 0.094 -0.1797)
OKLCHoklch(47.06% 0.203 297.6)
XYZxyz(16.2086, 8.8896, 47.8660)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C30BB #7FBB30
analogous
#303ABB #6C30BB #B130BB
triadic
#6C30BB #BB6C30 #30BB6C
tetradic
#6C30BB #BB303A #7FBB30 #30BBB1
square
#6C30BB #BB303A #7FBB30 #30BBB1
split-complementary
#6C30BB #BBB130 #3ABB30
monochromatic
#34175A #50238A #6C30BB #8B55D3 #AD86E0

Accessibility & contrast

On white

7.56
#6C30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6C30BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C30BB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C30BB#FFFFFF#000000##FFFFFF
##6C30BB1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#585473
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6c30bb;
/* rgb */ color: rgb(108, 48, 187);
/* oklch */ color: oklch(47.1% 0.203 297.6);
Tailwind
colors: {
  custom: {
    50: '#9d6ed0',
    500: '#6c30bb',
    950: '#000000',
  },
}
SCSS
$custom: #6c30bb;
$custom-light: #9d6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c30bb",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 265.899,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47062,
    "c": 0.2028,
    "h": 297.6
  },
  "luminance": 0.0889
}

Semantic roles & 50–950 ramp

primary
#6C30BB
secondary
#A9C97D
accent
#E2459F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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