#6F337D#6F337D

#6F337D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.3% C 0.132 H 319.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6F337D
RGBrgb(111, 51, 125)
HSLhsl(289, 42%, 35%)
HSVhsv(289, 59%, 49%)
CMYKcmyk(11.2%, 59.2%, 0%, 51%)
CIE-LABlab(32.32, 38.59, -30.74)
CIE-LCHlch(32.32, 49.34, 321.46°)
OKLaboklab(43.29% 0.1009 -0.0855)
OKLCHoklch(43.29% 0.132 319.7)
XYZxyz(11.4406, 7.2283, 20.1906)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F337D #417D33
analogous
#4A337D #6F337D #7D3366
triadic
#6F337D #7D6F33 #337D6F
tetradic
#6F337D #7D4A33 #417D33 #33667D
square
#6F337D #7D4A33 #417D33 #33667D
split-complementary
#6F337D #667D33 #337D4A
monochromatic
#221026 #482152 #6F337D #9645A8 #B169C2

Accessibility & contrast

On white

8.59
#6F337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6F337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F337D
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F337D#FFFFFF#000000##FFFFFF
##6F337D1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23487F
Deuteranopia (green-blind)
#384E7B
Tritanopia (blue-blind)
#6F3E53
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f337d;
/* rgb */ color: rgb(111, 51, 125);
/* oklch */ color: oklch(43.3% 0.132 319.7);
Tailwind
colors: {
  custom: {
    50: '#9a6ea3',
    500: '#6f337d',
    950: '#000000',
  },
}
SCSS
$custom: #6f337d;
$custom-light: #9a6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f337d",
  "rgb": {
    "r": 111,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 288.649,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4329,
    "c": 0.13224,
    "h": 319.7
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#6F337D
secondary
#70AA62
accent
#D2566D
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6F337D

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

Preview Lab → · Contrast checker → · Palette generator →

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