#6C34BF#6C34BF

#6C34BF is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.203 H 296.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6C34BF
RGBrgb(108, 52, 191)
HSLhsl(264, 57%, 48%)
HSVhsv(264, 73%, 75%)
CMYKcmyk(43.5%, 72.8%, 0%, 25.1%)
CIE-LABlab(36.75, 53.30, -63.56)
CIE-LCHlch(36.75, 82.95, 309.98°)
OKLaboklab(47.86% 0.0895 -0.1819)
OKLCHoklch(47.86% 0.203 296.2)
XYZxyz(16.8138, 9.4053, 50.2097)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C34BF #87BF34
analogous
#3441BF #6C34BF #B234BF
triadic
#6C34BF #BF6C34 #34BF6C
tetradic
#6C34BF #BF3441 #87BF34 #34BFB2
square
#6C34BF #BF3441 #87BF34 #34BFB2
split-complementary
#6C34BF #BFB234 #41BF34
monochromatic
#361A5F #51278F #6C34BF #8D5DD3 #AF8DE0

Accessibility & contrast

On white

7.29
#6C34BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6C34BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C34BF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C34BF#FFFFFF#000000##FFFFFF
##6C34BF1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#565876
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6c34bf;
/* rgb */ color: rgb(108, 52, 191);
/* oklch */ color: oklch(47.9% 0.203 296.2);
Tailwind
colors: {
  custom: {
    50: '#9d71d3',
    500: '#6c34bf',
    950: '#000000',
  },
}
SCSS
$custom: #6c34bf;
$custom-light: #9d71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c34bf",
  "rgb": {
    "r": 108,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 264.173,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47858,
    "c": 0.20273,
    "h": 296.2
  },
  "luminance": 0.09406
}

Semantic roles & 50–950 ramp

primary
#6C34BF
secondary
#AECA84
accent
#E047A3
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6C34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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