#6B34AE#6B34AE

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

Color values

HEX#6B34AE
RGBrgb(107, 52, 174)
HSLhsl(267, 54%, 44%)
HSVhsv(267, 70%, 68%)
CMYKcmyk(38.5%, 70.1%, 0%, 31.8%)
CIE-LABlab(35.28, 48.76, -55.92)
CIE-LCHlch(35.28, 74.19, 311.09°)
OKLaboklab(46.36% 0.0914 -0.1595)
OKLCHoklch(46.36% 0.184 299.8)
XYZxyz(14.9295, 8.6376, 40.9169)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B34AE #77AE34
analogous
#343AAE #6B34AE #A834AE
triadic
#6B34AE #AE6B34 #34AE6B
tetradic
#6B34AE #AE343A #77AE34 #34AEA8
square
#6B34AE #AE343A #77AE34 #34AEA8
split-complementary
#6B34AE #AEA834 #3AAE34
monochromatic
#311850 #4E267F #6B34AE #8A53CC #AA83DA

Accessibility & contrast

On white

7.70
#6B34AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B34AE
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B34AE#FFFFFF#000000##FFFFFF
##6B34AE1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#5C516D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6b34ae;
/* rgb */ color: rgb(107, 52, 174);
/* oklch */ color: oklch(46.4% 0.184 299.8);
Tailwind
colors: {
  custom: {
    50: '#9b70c7',
    500: '#6b34ae',
    950: '#000000',
  },
}
SCSS
$custom: #6b34ae;
$custom-light: #9b70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b34ae",
  "rgb": {
    "r": 107,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 267.049,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4636,
    "c": 0.18379,
    "h": 299.8
  },
  "luminance": 0.08638
}

Semantic roles & 50–950 ramp

primary
#6B34AE
secondary
#A2C37B
accent
#DD4A9B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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