#6F339A#6F339A

#6F339A is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.2% C 0.164 H 307.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#6F339A
RGBrgb(111, 51, 154)
HSLhsl(275, 50%, 40%)
HSVhsv(275, 67%, 60%)
CMYKcmyk(27.9%, 66.9%, 0%, 39.6%)
CIE-LABlab(34.15, 45.17, -45.68)
CIE-LCHlch(34.15, 64.24, 314.68°)
OKLaboklab(45.2% 0.1006 -0.1292)
OKLCHoklch(45.2% 0.164 307.9)
XYZxyz(13.5709, 8.0804, 31.4103)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F339A #5E9A33
analogous
#3B339A #6F339A #9A3392
triadic
#6F339A #9A6F33 #339A6F
tetradic
#6F339A #9A3B33 #5E9A33 #33929A
square
#6F339A #9A3B33 #5E9A33 #33929A
split-complementary
#6F339A #929A33 #339A3B
monochromatic
#2D153E #4E246C #6F339A #8F48C2 #AB76D2

Accessibility & contrast

On white

8.03
#6F339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F339A
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F339A#FFFFFF#000000##FFFFFF
##6F339A1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f339a;
/* rgb */ color: rgb(111, 51, 154);
/* oklch */ color: oklch(45.2% 0.164 307.9);
Tailwind
colors: {
  custom: {
    50: '#9c6fb8',
    500: '#6f339a',
    950: '#000000',
  },
}
SCSS
$custom: #6f339a;
$custom-light: #9c6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f339a",
  "rgb": {
    "r": 111,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 274.951,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45203,
    "c": 0.16379,
    "h": 307.9
  },
  "luminance": 0.0808
}

Semantic roles & 50–950 ramp

primary
#6F339A
secondary
#8EBA6F
accent
#DA4E88
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F339A

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

Preview Lab → · Contrast checker → · Palette generator →

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