#6E339D#6E339D

#6E339D is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.167 H 306.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6E339D
RGBrgb(110, 51, 157)
HSLhsl(273, 51%, 41%)
HSVhsv(273, 68%, 62%)
CMYKcmyk(29.9%, 67.5%, 0%, 38.4%)
CIE-LABlab(34.23, 45.66, -47.39)
CIE-LCHlch(34.23, 65.81, 313.94°)
OKLaboklab(45.3% 0.099 -0.1343)
OKLCHoklch(45.3% 0.167 306.4)
XYZxyz(13.6987, 8.1171, 32.7368)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E339D #629D33
analogous
#39339D #6E339D #9D3397
triadic
#6E339D #9D6E33 #339D6E
tetradic
#6E339D #9D3933 #629D33 #33979D
square
#6E339D #9D3933 #629D33 #33979D
split-complementary
#6E339D #979D33 #339D39
monochromatic
#2D1541 #4E246F #6E339D #8E49C4 #AA77D3

Accessibility & contrast

On white

8.00
#6E339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6E339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E339D
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E339D#FFFFFF#000000##FFFFFF
##6E339D1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#18519B
Tritanopia (blue-blind)
#664A63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e339d;
/* rgb */ color: rgb(110, 51, 157);
/* oklch */ color: oklch(45.3% 0.167 306.4);
Tailwind
colors: {
  custom: {
    50: '#9b6fbb',
    500: '#6e339d',
    950: '#000000',
  },
}
SCSS
$custom: #6e339d;
$custom-light: #9b6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e339d",
  "rgb": {
    "r": 110,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 273.396,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45296,
    "c": 0.16681,
    "h": 306.4
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#6E339D
secondary
#92BB70
accent
#DA4D8C
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6E339D

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

Preview Lab → · Contrast checker → · Palette generator →

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