#6D34AF#6D34AF

#6D34AF is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.185 H 300.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6D34AF
RGBrgb(109, 52, 175)
HSLhsl(268, 54%, 45%)
HSVhsv(268, 70%, 69%)
CMYKcmyk(37.7%, 70.3%, 0%, 31.4%)
CIE-LABlab(35.60, 49.40, -55.98)
CIE-LCHlch(35.60, 74.66, 311.43°)
OKLaboklab(46.67% 0.094 -0.1596)
OKLCHoklch(46.67% 0.185 300.5)
XYZxyz(15.2706, 8.8022, 41.4436)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D34AF #76AF34
analogous
#3439AF #6D34AF #AB34AF
triadic
#6D34AF #AF6D34 #34AF6D
tetradic
#6D34AF #AF3439 #76AF34 #34AFAB
square
#6D34AF #AF3439 #76AF34 #34AFAB
split-complementary
#6D34AF #AFAB34 #39AF34
monochromatic
#321851 #502680 #6D34AF #8C54CC #AC83DA

Accessibility & contrast

On white

7.61
#6D34AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6D34AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D34AF
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D34AF#FFFFFF#000000##FFFFFF
##6D34AF1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#5E516E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d34af;
/* rgb */ color: rgb(109, 52, 175);
/* oklch */ color: oklch(46.7% 0.185 300.5);
Tailwind
colors: {
  custom: {
    50: '#9c70c8',
    500: '#6d34af',
    950: '#000000',
  },
}
SCSS
$custom: #6d34af;
$custom-light: #9c70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d34af",
  "rgb": {
    "r": 109,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 267.805,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4667,
    "c": 0.18522,
    "h": 300.5
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#6D34AF
secondary
#A2C47B
accent
#DE4A99
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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