#6B34C3#6B34C3

#6B34C3 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.207 H 294.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6B34C3
RGBrgb(107, 52, 195)
HSLhsl(263, 58%, 48%)
HSVhsv(263, 73%, 76%)
CMYKcmyk(45.1%, 73.3%, 0%, 23.5%)
CIE-LABlab(36.97, 54.16, -65.56)
CIE-LCHlch(36.97, 85.04, 309.56°)
OKLaboklab(48.09% 0.0872 -0.1878)
OKLCHoklch(48.09% 0.207 294.9)
XYZxyz(17.1391, 9.5215, 52.5540)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B34C3 #8CC334
analogous
#3444C3 #6B34C3 #B234C3
triadic
#6B34C3 #C36B34 #34C36B
tetradic
#6B34C3 #C33444 #8CC334 #34C3B2
square
#6B34C3 #C33444 #8CC334 #34C3B2
split-complementary
#6B34C3 #C3B234 #44C334
monochromatic
#361A62 #502793 #6B34C3 #8D60D5 #AF90E1

Accessibility & contrast

On white

7.23
#6B34C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6B34C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B34C3
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B34C3#FFFFFF#000000##FFFFFF
##6B34C31.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#525979
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b34c3;
/* rgb */ color: rgb(107, 52, 195);
/* oklch */ color: oklch(48.1% 0.207 294.9);
Tailwind
colors: {
  custom: {
    50: '#9d71d6',
    500: '#6b34c3',
    950: '#000000',
  },
}
SCSS
$custom: #6b34c3;
$custom-light: #9d71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b34c3",
  "rgb": {
    "r": 107,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 263.077,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.20705,
    "h": 294.9
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#6B34C3
secondary
#B1CC87
accent
#E147A6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6B34C3

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

Preview Lab → · Contrast checker → · Palette generator →

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