#6E339F#6E339F

#6E339F is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.169 H 305.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6E339F
RGBrgb(110, 51, 159)
HSLhsl(273, 51%, 41%)
HSVhsv(273, 68%, 62%)
CMYKcmyk(30.8%, 67.9%, 0%, 37.6%)
CIE-LABlab(34.37, 46.14, -48.37)
CIE-LCHlch(34.37, 66.85, 313.65°)
OKLaboklab(45.44% 0.0987 -0.1372)
OKLCHoklch(45.44% 0.169 305.7)
XYZxyz(13.8709, 8.1860, 33.6435)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E339F #649F33
analogous
#38339F #6E339F #9F339A
triadic
#6E339F #9F6E33 #339F6E
tetradic
#6E339F #9F3833 #649F33 #339A9F
square
#6E339F #9F3833 #649F33 #339A9F
split-complementary
#6E339F #9A9F33 #339F38
monochromatic
#2E1542 #4E2471 #6E339F #8D4AC5 #AA79D4

Accessibility & contrast

On white

7.96
#6E339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6E339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E339F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E339F#FFFFFF#000000##FFFFFF
##6E339F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#13519D
Tritanopia (blue-blind)
#654B65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e339f;
/* rgb */ color: rgb(110, 51, 159);
/* oklch */ color: oklch(45.4% 0.169 305.7);
Tailwind
colors: {
  custom: {
    50: '#9c6fbc',
    500: '#6e339f',
    950: '#000000',
  },
}
SCSS
$custom: #6e339f;
$custom-light: #9c6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e339f",
  "rgb": {
    "r": 110,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 272.778,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45442,
    "c": 0.16902,
    "h": 305.7
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#6E339F
secondary
#93BC71
accent
#DB4D8D
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0812
muted
#7E7B81

Preview Lab

Preview with #6E339F

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

Preview Lab → · Contrast checker → · Palette generator →

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