#6D34AE#6D34AE

#6D34AE is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.184 H 300.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#6D34AE
RGBrgb(109, 52, 174)
HSLhsl(268, 54%, 44%)
HSVhsv(268, 70%, 68%)
CMYKcmyk(37.4%, 70.1%, 0%, 31.8%)
CIE-LABlab(35.52, 49.15, -55.50)
CIE-LCHlch(35.52, 74.14, 311.52°)
OKLaboklab(46.59% 0.0942 -0.1582)
OKLCHoklch(46.59% 0.184 300.8)
XYZxyz(15.1728, 8.7631, 40.9283)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D34AE #75AE34
analogous
#3438AE #6D34AE #AA34AE
triadic
#6D34AE #AE6D34 #34AE6D
tetradic
#6D34AE #AE3438 #75AE34 #34AEAA
square
#6D34AE #AE3438 #75AE34 #34AEAA
split-complementary
#6D34AE #AEAA34 #38AE34
monochromatic
#321850 #4F267F #6D34AE #8C53CC #AB83DA

Accessibility & contrast

On white

7.63
#6D34AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6D34AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D34AE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D34AE#FFFFFF#000000##FFFFFF
##6D34AE1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#5F516D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d34ae;
/* rgb */ color: rgb(109, 52, 174);
/* oklch */ color: oklch(46.6% 0.184 300.8);
Tailwind
colors: {
  custom: {
    50: '#9c70c7',
    500: '#6d34ae',
    950: '#000000',
  },
}
SCSS
$custom: #6d34ae;
$custom-light: #9c70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d34ae",
  "rgb": {
    "r": 109,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 268.033,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46591,
    "c": 0.18411,
    "h": 300.8
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#6D34AE
secondary
#A1C37B
accent
#DD4A99
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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