#6B34AC#6B34AC

#6B34AC is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.182 H 300.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6B34AC
RGBrgb(107, 52, 172)
HSLhsl(268, 54%, 44%)
HSVhsv(268, 70%, 67%)
CMYKcmyk(37.8%, 69.8%, 0%, 32.5%)
CIE-LABlab(35.12, 48.25, -54.97)
CIE-LCHlch(35.12, 73.14, 311.27°)
OKLaboklab(46.2% 0.0917 -0.1567)
OKLCHoklch(46.2% 0.182 300.3)
XYZxyz(14.7360, 8.5602, 39.8977)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B34AC #75AC34
analogous
#3439AC #6B34AC #A734AC
triadic
#6B34AC #AC6B34 #34AC6B
tetradic
#6B34AC #AC3439 #75AC34 #34ACA7
square
#6B34AC #AC3439 #75AC34 #34ACA7
split-complementary
#6B34AC #ACA734 #39AC34
monochromatic
#31184E #4E267D #6B34AC #8A52CB #AA81D9

Accessibility & contrast

On white

7.74
#6B34AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6B34AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B34AC
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B34AC#FFFFFF#000000##FFFFFF
##6B34AC1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#5C516C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6b34ac;
/* rgb */ color: rgb(107, 52, 172);
/* oklch */ color: oklch(46.2% 0.182 300.3);
Tailwind
colors: {
  custom: {
    50: '#9b70c6',
    500: '#6b34ac',
    950: '#000000',
  },
}
SCSS
$custom: #6b34ac;
$custom-light: #9b70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b34ac",
  "rgb": {
    "r": 107,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 267.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46202,
    "c": 0.18155,
    "h": 300.3
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#6B34AC
secondary
#A1C279
accent
#DD4B9A
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B34AC

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

Preview Lab → · Contrast checker → · Palette generator →

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