#6E34AF#6E34AF

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

Color values

HEX#6E34AF
RGBrgb(110, 52, 175)
HSLhsl(268, 54%, 45%)
HSVhsv(268, 70%, 69%)
CMYKcmyk(37.1%, 70.3%, 0%, 31.4%)
CIE-LABlab(35.73, 49.60, -55.77)
CIE-LCHlch(35.73, 74.63, 311.65°)
OKLaboklab(46.79% 0.0954 -0.1589)
OKLCHoklch(46.79% 0.185 301)
XYZxyz(15.3944, 8.8660, 41.4494)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E34AF #75AF34
analogous
#3437AF #6E34AF #AC34AF
triadic
#6E34AF #AF6E34 #34AF6E
tetradic
#6E34AF #AF3437 #75AF34 #34AFAC
square
#6E34AF #AF3437 #75AF34 #34AFAC
split-complementary
#6E34AF #AFAC34 #37AF34
monochromatic
#331851 #502680 #6E34AF #8D54CC #AC83DA

Accessibility & contrast

On white

7.57
#6E34AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6E34AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E34AF
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E34AF#FFFFFF#000000##FFFFFF
##6E34AF1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e34af;
/* rgb */ color: rgb(110, 52, 175);
/* oklch */ color: oklch(46.8% 0.185 301.0);
Tailwind
colors: {
  custom: {
    50: '#9d70c8',
    500: '#6e34af',
    950: '#000000',
  },
}
SCSS
$custom: #6e34af;
$custom-light: #9d70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e34af",
  "rgb": {
    "r": 110,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 268.293,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46786,
    "c": 0.18539,
    "h": 301
  },
  "luminance": 0.08866
}

Semantic roles & 50–950 ramp

primary
#6E34AF
secondary
#A1C47B
accent
#DE4A98
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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