#6C30BF#6C30BF

#6C30BF is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.207 H 296.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#6C30BF
RGBrgb(108, 48, 191)
HSLhsl(265, 60%, 47%)
HSVhsv(265, 75%, 75%)
CMYKcmyk(43.5%, 74.9%, 0%, 25.1%)
CIE-LABlab(36.11, 55.13, -64.62)
CIE-LCHlch(36.11, 84.94, 310.47°)
OKLaboklab(47.4% 0.0931 -0.185)
OKLCHoklch(47.4% 0.207 296.7)
XYZxyz(16.6428, 9.0633, 50.1526)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C30BF #83BF30
analogous
#303BBF #6C30BF #B430BF
triadic
#6C30BF #BF6C30 #30BF6C
tetradic
#6C30BF #BF303B #83BF30 #30BFB4
square
#6C30BF #BF303B #83BF30 #30BFB4
split-complementary
#6C30BF #BFB430 #3BBF30
monochromatic
#35175D #50248E #6C30BF #8C57D5 #AE88E1

Accessibility & contrast

On white

7.47
#6C30BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6C30BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C30BF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C30BF#FFFFFF#000000##FFFFFF
##6C30BF1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#565675
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c30bf;
/* rgb */ color: rgb(108, 48, 191);
/* oklch */ color: oklch(47.4% 0.207 296.7);
Tailwind
colors: {
  custom: {
    50: '#9e6ed3',
    500: '#6c30bf',
    950: '#000000',
  },
}
SCSS
$custom: #6c30bf;
$custom-light: #9e6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c30bf",
  "rgb": {
    "r": 108,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 265.175,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47401,
    "c": 0.20707,
    "h": 296.7
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#6C30BF
secondary
#ABCB80
accent
#E345A1
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6C30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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