#6F34AF#6F34AF

#6F34AF is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.186 H 301.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#6F34AF
RGBrgb(111, 52, 175)
HSLhsl(269, 54%, 45%)
HSVhsv(269, 70%, 69%)
CMYKcmyk(36.6%, 70.3%, 0%, 31.4%)
CIE-LABlab(35.85, 49.79, -55.56)
CIE-LCHlch(35.85, 74.61, 311.87°)
OKLaboklab(46.9% 0.0969 -0.1583)
OKLCHoklch(46.9% 0.186 301.5)
XYZxyz(15.5195, 8.9306, 41.4553)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34AF #74AF34
analogous
#3437AF #6F34AF #AC34AF
triadic
#6F34AF #AF6F34 #34AF6F
tetradic
#6F34AF #AF3437 #74AF34 #34AFAC
square
#6F34AF #AF3437 #74AF34 #34AFAC
split-complementary
#6F34AF #AFAC34 #37AF34
monochromatic
#331851 #512680 #6F34AF #8E54CC #AD83DA

Accessibility & contrast

On white

7.54
#6F34AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6F34AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34AF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34AF#FFFFFF#000000##FFFFFF
##6F34AF1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#61516E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f34af;
/* rgb */ color: rgb(111, 52, 175);
/* oklch */ color: oklch(46.9% 0.186 301.5);
Tailwind
colors: {
  custom: {
    50: '#9e70c8',
    500: '#6f34af',
    950: '#000000',
  },
}
SCSS
$custom: #6f34af;
$custom-light: #9e70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34af",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 268.78,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46902,
    "c": 0.18557,
    "h": 301.5
  },
  "luminance": 0.08931
}

Semantic roles & 50–950 ramp

primary
#6F34AF
secondary
#A1C47B
accent
#DE4A97
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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