#6F34AA#6F34AA

#6F34AA is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.180 H 302.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#6F34AA
RGBrgb(111, 52, 170)
HSLhsl(270, 53%, 44%)
HSVhsv(270, 69%, 67%)
CMYKcmyk(34.7%, 69.4%, 0%, 33.3%)
CIE-LABlab(35.47, 48.55, -53.19)
CIE-LCHlch(35.47, 72.02, 312.39°)
OKLaboklab(46.52% 0.0976 -0.1513)
OKLCHoklch(46.52% 0.18 302.8)
XYZxyz(15.0375, 8.7378, 38.9167)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34AA #6FAA34
analogous
#3434AA #6F34AA #AA34AA
triadic
#6F34AA #AA6F34 #34AA6F
tetradic
#6F34AA #AA3434 #6FAA34 #34AAAA
square
#6F34AA #AA3434 #6FAA34 #34AAAA
split-complementary
#6F34AA #AAAA34 #34AA34
monochromatic
#32174C #50267B #6F34AA #8E51CA #AC80D8

Accessibility & contrast

On white

7.64
#6F34AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6F34AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34AA
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34AA#FFFFFF#000000##FFFFFF
##6F34AA1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#634F6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f34aa;
/* rgb */ color: rgb(111, 52, 170);
/* oklch */ color: oklch(46.5% 0.180 302.8);
Tailwind
colors: {
  custom: {
    50: '#9d70c4',
    500: '#6f34aa',
    950: '#000000',
  },
}
SCSS
$custom: #6f34aa;
$custom-light: #9d70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34aa",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 270,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.18007,
    "h": 302.8
  },
  "luminance": 0.08738
}

Semantic roles & 50–950 ramp

primary
#6F34AA
secondary
#9DC178
accent
#DD4B94
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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