#6F34AC#6F34AC

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

Color values

HEX#6F34AC
RGBrgb(111, 52, 172)
HSLhsl(270, 54%, 44%)
HSVhsv(270, 70%, 67%)
CMYKcmyk(35.5%, 69.8%, 0%, 32.5%)
CIE-LABlab(35.62, 49.05, -54.14)
CIE-LCHlch(35.62, 73.05, 312.18°)
OKLaboklab(46.67% 0.0973 -0.1541)
OKLCHoklch(46.67% 0.182 302.3)
XYZxyz(15.2282, 8.8140, 39.9207)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34AC #71AC34
analogous
#3435AC #6F34AC #AB34AC
triadic
#6F34AC #AC6F34 #34AC6F
tetradic
#6F34AC #AC3435 #71AC34 #34ACAB
square
#6F34AC #AC3435 #71AC34 #34ACAB
split-complementary
#6F34AC #ACAB34 #35AC34
monochromatic
#32184E #51267D #6F34AC #8E52CB #AC81D9

Accessibility & contrast

On white

7.60
#6F34AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F34AC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34AC#FFFFFF#000000##FFFFFF
##6F34AC1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#62506C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f34ac;
/* rgb */ color: rgb(111, 52, 172);
/* oklch */ color: oklch(46.7% 0.182 302.3);
Tailwind
colors: {
  custom: {
    50: '#9d70c6',
    500: '#6f34ac',
    950: '#000000',
  },
}
SCSS
$custom: #6f34ac;
$custom-light: #9d70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34ac",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 269.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4667,
    "c": 0.18227,
    "h": 302.3
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#6F34AC
secondary
#9FC279
accent
#DD4B95
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F34AC

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

Preview Lab → · Contrast checker → · Palette generator →

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