#6D34AB#6D34AB

#6D34AB is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.181 H 301.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#6D34AB
RGBrgb(109, 52, 171)
HSLhsl(269, 53%, 44%)
HSVhsv(269, 70%, 67%)
CMYKcmyk(36.3%, 69.6%, 0%, 32.9%)
CIE-LABlab(35.30, 48.40, -54.08)
CIE-LCHlch(35.30, 72.58, 311.82°)
OKLaboklab(46.36% 0.0947 -0.154)
OKLCHoklch(46.36% 0.181 301.6)
XYZxyz(14.8836, 8.6474, 39.4052)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D34AB #72AB34
analogous
#3437AB #6D34AB #A834AB
triadic
#6D34AB #AB6D34 #34AB6D
tetradic
#6D34AB #AB3437 #72AB34 #34ABA8
square
#6D34AB #AB3437 #72AB34 #34ABA8
split-complementary
#6D34AB #ABA834 #37AB34
monochromatic
#31174D #4F267C #6D34AB #8C52CA #AB81D9

Accessibility & contrast

On white

7.69
#6D34AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6D34AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D34AB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D34AB#FFFFFF#000000##FFFFFF
##6D34AB1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#60506B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d34ab;
/* rgb */ color: rgb(109, 52, 171);
/* oklch */ color: oklch(46.4% 0.181 301.6);
Tailwind
colors: {
  custom: {
    50: '#9c70c5',
    500: '#6d34ab',
    950: '#000000',
  },
}
SCSS
$custom: #6d34ab;
$custom-light: #9c70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d34ab",
  "rgb": {
    "r": 109,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 268.739,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46357,
    "c": 0.18078,
    "h": 301.6
  },
  "luminance": 0.08647
}

Semantic roles & 50–950 ramp

primary
#6D34AB
secondary
#9FC279
accent
#DD4B97
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D34AB

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

Preview Lab → · Contrast checker → · Palette generator →

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