#6D34B3#6D34B3

#6D34B3 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.190 H 299.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#6D34B3
RGBrgb(109, 52, 179)
HSLhsl(267, 55%, 45%)
HSVhsv(267, 71%, 70%)
CMYKcmyk(39.1%, 70.9%, 0%, 29.8%)
CIE-LABlab(35.91, 50.41, -57.85)
CIE-LCHlch(35.91, 76.73, 311.07°)
OKLaboklab(46.99% 0.0933 -0.1651)
OKLCHoklch(46.99% 0.19 299.5)
XYZxyz(15.6693, 8.9617, 43.5433)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D34B3 #7AB334
analogous
#343BB3 #6D34B3 #AC34B3
triadic
#6D34B3 #B36D34 #34B36D
tetradic
#6D34B3 #B3343B #7AB334 #34B3AC
square
#6D34B3 #B3343B #7AB334 #34B3AC
split-complementary
#6D34B3 #B3AC34 #3BB334
monochromatic
#331854 #502684 #6D34B3 #8C56CE #AC86DC

Accessibility & contrast

On white

7.52
#6D34B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6D34B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D34B3
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D34B3#FFFFFF#000000##FFFFFF
##6D34B31.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#5D5370
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d34b3;
/* rgb */ color: rgb(109, 52, 179);
/* oklch */ color: oklch(47.0% 0.190 299.5);
Tailwind
colors: {
  custom: {
    50: '#9d70cb',
    500: '#6d34b3',
    950: '#000000',
  },
}
SCSS
$custom: #6d34b3;
$custom-light: #9d70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d34b3",
  "rgb": {
    "r": 109,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 266.929,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46987,
    "c": 0.18964,
    "h": 299.5
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#6D34B3
secondary
#A5C57D
accent
#DE499C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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