#6D34C3#6D34C3

#6D34C3 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.207 H 295.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#6D34C3
RGBrgb(109, 52, 195)
HSLhsl(264, 58%, 48%)
HSVhsv(264, 73%, 76%)
CMYKcmyk(44.1%, 73.3%, 0%, 23.5%)
CIE-LABlab(37.20, 54.49, -65.17)
CIE-LCHlch(37.20, 84.95, 309.90°)
OKLaboklab(48.3% 0.0901 -0.1866)
OKLCHoklch(48.3% 0.207 295.8)
XYZxyz(17.3824, 9.6469, 52.5654)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D34C3 #8AC334
analogous
#3442C3 #6D34C3 #B434C3
triadic
#6D34C3 #C36D34 #34C36D
tetradic
#6D34C3 #C33442 #8AC334 #34C3B4
square
#6D34C3 #C33442 #8AC334 #34C3B4
split-complementary
#6D34C3 #C3B434 #42C334
monochromatic
#371A62 #522793 #6D34C3 #8E60D5 #B090E1

Accessibility & contrast

On white

7.17
#6D34C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6D34C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D34C3
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D34C3#FFFFFF#000000##FFFFFF
##6D34C31.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d34c3;
/* rgb */ color: rgb(109, 52, 195);
/* oklch */ color: oklch(48.3% 0.207 295.8);
Tailwind
colors: {
  custom: {
    50: '#9e71d6',
    500: '#6d34c3',
    950: '#000000',
  },
}
SCSS
$custom: #6d34c3;
$custom-light: #9e71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d34c3",
  "rgb": {
    "r": 109,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 263.916,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48303,
    "c": 0.2072,
    "h": 295.8
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#6D34C3
secondary
#B0CC87
accent
#E147A4
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6D34C3

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

Preview Lab → · Contrast checker → · Palette generator →

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