#6D339F#6D339F

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

Color values

HEX#6D339F
RGBrgb(109, 51, 159)
HSLhsl(272, 51%, 41%)
HSVhsv(272, 68%, 62%)
CMYKcmyk(31.4%, 67.9%, 0%, 37.6%)
CIE-LABlab(34.24, 45.92, -48.59)
CIE-LCHlch(34.24, 66.86, 313.38°)
OKLaboklab(45.32% 0.0974 -0.1378)
OKLCHoklch(45.32% 0.169 305.2)
XYZxyz(13.7471, 8.1222, 33.6377)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D339F #659F33
analogous
#37339F #6D339F #9F339B
triadic
#6D339F #9F6D33 #339F6D
tetradic
#6D339F #9F3733 #659F33 #339B9F
square
#6D339F #9F3733 #659F33 #339B9F
split-complementary
#6D339F #9B9F33 #339F37
monochromatic
#2D1542 #4D2471 #6D339F #8C4AC5 #AA79D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D339F#FFFFFF#000000##FFFFFF
##6D339F1.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)
#004FA2
Deuteranopia (green-blind)
#11519D
Tritanopia (blue-blind)
#644B65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d339f;
/* rgb */ color: rgb(109, 51, 159);
/* oklch */ color: oklch(45.3% 0.169 305.2);
Tailwind
colors: {
  custom: {
    50: '#9b6fbc',
    500: '#6d339f',
    950: '#000000',
  },
}
SCSS
$custom: #6d339f;
$custom-light: #9b6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d339f",
  "rgb": {
    "r": 109,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 272.222,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4532,
    "c": 0.16876,
    "h": 305.2
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

primary
#6D339F
secondary
#94BC71
accent
#DB4D8F
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D339F

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

Preview Lab → · Contrast checker → · Palette generator →

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