#6D339A#6D339A

#6D339A is a dark, vivid violet. Relative luminance 0.080; OKLCH L 45.0% C 0.163 H 306.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6D339A
RGBrgb(109, 51, 154)
HSLhsl(274, 50%, 40%)
HSVhsv(274, 67%, 60%)
CMYKcmyk(29.2%, 66.9%, 0%, 39.6%)
CIE-LABlab(33.88, 44.71, -46.13)
CIE-LCHlch(33.88, 64.24, 314.11°)
OKLaboklab(44.95% 0.0979 -0.1306)
OKLCHoklch(44.95% 0.163 306.8)
XYZxyz(13.3220, 7.9521, 31.3987)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D339A #609A33
analogous
#39339A #6D339A #9A3394
triadic
#6D339A #9A6D33 #339A6D
tetradic
#6D339A #9A3933 #609A33 #33949A
square
#6D339A #9A3933 #609A33 #33949A
split-complementary
#6D339A #949A33 #339A39
monochromatic
#2C153E #4C246C #6D339A #8D48C2 #A976D2

Accessibility & contrast

On white

8.11
#6D339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6D339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D339A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D339A#FFFFFF#000000##FFFFFF
##6D339A1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d339a;
/* rgb */ color: rgb(109, 51, 154);
/* oklch */ color: oklch(45.0% 0.163 306.8);
Tailwind
colors: {
  custom: {
    50: '#9b6fb8',
    500: '#6d339a',
    950: '#000000',
  },
}
SCSS
$custom: #6d339a;
$custom-light: #9b6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d339a",
  "rgb": {
    "r": 109,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 273.786,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44954,
    "c": 0.16321,
    "h": 306.8
  },
  "luminance": 0.07952
}

Semantic roles & 50–950 ramp

primary
#6D339A
secondary
#90BA6F
accent
#DA4E8B
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D339A

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

Preview Lab → · Contrast checker → · Palette generator →

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