#6E339A#6E339A

#6E339A is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.164 H 307.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6E339A
RGBrgb(110, 51, 154)
HSLhsl(274, 50%, 40%)
HSVhsv(274, 67%, 60%)
CMYKcmyk(28.6%, 66.9%, 0%, 39.6%)
CIE-LABlab(34.02, 44.94, -45.91)
CIE-LCHlch(34.02, 64.24, 314.39°)
OKLaboklab(45.08% 0.0992 -0.1299)
OKLCHoklch(45.08% 0.164 307.4)
XYZxyz(13.4457, 8.0159, 31.4045)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E339A #5F9A33
analogous
#3A339A #6E339A #9A3392
triadic
#6E339A #9A6E33 #339A6E
tetradic
#6E339A #9A3A33 #5F9A33 #33929A
square
#6E339A #9A3A33 #5F9A33 #33929A
split-complementary
#6E339A #929A33 #339A3A
monochromatic
#2C153E #4D246C #6E339A #8E48C2 #AA76D2

Accessibility & contrast

On white

8.07
#6E339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6E339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E339A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E339A#FFFFFF#000000##FFFFFF
##6E339A1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#1D5198
Tritanopia (blue-blind)
#674962
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e339a;
/* rgb */ color: rgb(110, 51, 154);
/* oklch */ color: oklch(45.1% 0.164 307.4);
Tailwind
colors: {
  custom: {
    50: '#9b6fb8',
    500: '#6e339a',
    950: '#000000',
  },
}
SCSS
$custom: #6e339a;
$custom-light: #9b6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e339a",
  "rgb": {
    "r": 110,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 274.369,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45078,
    "c": 0.1635,
    "h": 307.4
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#6E339A
secondary
#8FBA6F
accent
#DA4E8A
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6E339A

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

Preview Lab → · Contrast checker → · Palette generator →

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