#6E339B#6E339B

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

Color values

HEX#6E339B
RGBrgb(110, 51, 155)
HSLhsl(274, 50%, 40%)
HSVhsv(274, 67%, 61%)
CMYKcmyk(29%, 67.1%, 0%, 39.2%)
CIE-LABlab(34.09, 45.18, -46.40)
CIE-LCHlch(34.09, 64.76, 314.24°)
OKLaboklab(45.15% 0.0991 -0.1314)
OKLCHoklch(45.15% 0.165 307)
XYZxyz(13.5294, 8.0494, 31.8449)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E339B #609B33
analogous
#3A339B #6E339B #9B3394
triadic
#6E339B #9B6E33 #339B6E
tetradic
#6E339B #9B3A33 #609B33 #33949B
square
#6E339B #9B3A33 #609B33 #33949B
split-complementary
#6E339B #949B33 #339B3A
monochromatic
#2D153F #4D246D #6E339B #8E48C3 #AA76D2

Accessibility & contrast

On white

8.05
#6E339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6E339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E339B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E339B#FFFFFF#000000##FFFFFF
##6E339B1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e339b;
/* rgb */ color: rgb(110, 51, 155);
/* oklch */ color: oklch(45.1% 0.165 307.0);
Tailwind
colors: {
  custom: {
    50: '#9b6fb9',
    500: '#6e339b',
    950: '#000000',
  },
}
SCSS
$custom: #6e339b;
$custom-light: #9b6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e339b",
  "rgb": {
    "r": 110,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 274.038,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4515,
    "c": 0.1646,
    "h": 307
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#6E339B
secondary
#90BA6F
accent
#DA4E8A
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E339B

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

Preview Lab → · Contrast checker → · Palette generator →

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