#6B34AA#6B34AA

#6B34AA is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.179 H 300.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6B34AA
RGBrgb(107, 52, 170)
HSLhsl(268, 53%, 44%)
HSVhsv(268, 69%, 67%)
CMYKcmyk(37.1%, 69.4%, 0%, 33.3%)
CIE-LABlab(34.97, 47.74, -54.03)
CIE-LCHlch(34.97, 72.10, 311.47°)
OKLaboklab(46.05% 0.092 -0.1539)
OKLCHoklch(46.05% 0.179 300.9)
XYZxyz(14.5453, 8.4840, 38.8937)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B34AA #73AA34
analogous
#3438AA #6B34AA #A634AA
triadic
#6B34AA #AA6B34 #34AA6B
tetradic
#6B34AA #AA3438 #73AA34 #34AAA6
square
#6B34AA #AA3438 #73AA34 #34AAA6
split-complementary
#6B34AA #AAA634 #38AA34
monochromatic
#30174C #4E267B #6B34AA #8A51CA #A980D8

Accessibility & contrast

On white

7.79
#6B34AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6B34AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B34AA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B34AA#FFFFFF#000000##FFFFFF
##6B34AA1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#5D506B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b34aa;
/* rgb */ color: rgb(107, 52, 170);
/* oklch */ color: oklch(46.0% 0.179 300.9);
Tailwind
colors: {
  custom: {
    50: '#9b70c4',
    500: '#6b34aa',
    950: '#000000',
  },
}
SCSS
$custom: #6b34aa;
$custom-light: #9b70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b34aa",
  "rgb": {
    "r": 107,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 267.966,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46046,
    "c": 0.17931,
    "h": 300.9
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#6B34AA
secondary
#9FC178
accent
#DD4B99
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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