#6F34AE#6F34AE

#6F34AE is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.184 H 301.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6F34AE
RGBrgb(111, 52, 174)
HSLhsl(269, 54%, 44%)
HSVhsv(269, 70%, 68%)
CMYKcmyk(36.2%, 70.1%, 0%, 31.8%)
CIE-LABlab(35.77, 49.54, -55.09)
CIE-LCHlch(35.77, 74.09, 311.97°)
OKLaboklab(46.83% 0.097 -0.1569)
OKLCHoklch(46.83% 0.184 301.7)
XYZxyz(15.4217, 8.8914, 40.9399)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34AE #73AE34
analogous
#3436AE #6F34AE #AC34AE
triadic
#6F34AE #AE6F34 #34AE6F
tetradic
#6F34AE #AE3436 #73AE34 #34AEAC
square
#6F34AE #AE3436 #73AE34 #34AEAC
split-complementary
#6F34AE #AEAC34 #36AE34
monochromatic
#331850 #51267F #6F34AE #8E53CC #AD83DA

Accessibility & contrast

On white

7.56
#6F34AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6F34AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34AE
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34AE#FFFFFF#000000##FFFFFF
##6F34AE1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#62516D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f34ae;
/* rgb */ color: rgb(111, 52, 174);
/* oklch */ color: oklch(46.8% 0.184 301.7);
Tailwind
colors: {
  custom: {
    50: '#9e70c7',
    500: '#6f34ae',
    950: '#000000',
  },
}
SCSS
$custom: #6f34ae;
$custom-light: #9e70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34ae",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 269.016,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46825,
    "c": 0.18447,
    "h": 301.7
  },
  "luminance": 0.08891
}

Semantic roles & 50–950 ramp

primary
#6F34AE
secondary
#A0C37B
accent
#DD4A96
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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