#6C34BB#6C34BB

#6C34BB is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.198 H 297.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6C34BB
RGBrgb(108, 52, 187)
HSLhsl(265, 56%, 47%)
HSVhsv(265, 72%, 73%)
CMYKcmyk(42.2%, 72.2%, 0%, 26.7%)
CIE-LABlab(36.43, 52.27, -61.74)
CIE-LCHlch(36.43, 80.89, 310.25°)
OKLaboklab(47.53% 0.0904 -0.1766)
OKLCHoklch(47.53% 0.198 297.1)
XYZxyz(16.3796, 9.2317, 47.9230)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C34BB #83BB34
analogous
#3440BB #6C34BB #B034BB
triadic
#6C34BB #BB6C34 #34BB6C
tetradic
#6C34BB #BB3440 #83BB34 #34BBB0
square
#6C34BB #BB3440 #83BB34 #34BBB0
split-complementary
#6C34BB #BBB034 #40BB34
monochromatic
#35195B #50278B #6C34BB #8C5BD1 #AE8BDF

Accessibility & contrast

On white

7.38
#6C34BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6C34BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C34BB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C34BB#FFFFFF#000000##FFFFFF
##6C34BB1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#585674
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6c34bb;
/* rgb */ color: rgb(108, 52, 187);
/* oklch */ color: oklch(47.5% 0.198 297.1);
Tailwind
colors: {
  custom: {
    50: '#9d70d0',
    500: '#6c34bb',
    950: '#000000',
  },
}
SCSS
$custom: #6c34bb;
$custom-light: #9d70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c34bb",
  "rgb": {
    "r": 108,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 264.889,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47525,
    "c": 0.19834,
    "h": 297.1
  },
  "luminance": 0.09232
}

Semantic roles & 50–950 ramp

primary
#6C34BB
secondary
#ABC982
accent
#E048A1
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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