#6B337C#6B337C

#6B337C is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.7% C 0.129 H 317.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6B337C
RGBrgb(107, 51, 124)
HSLhsl(286, 42%, 34%)
HSVhsv(286, 59%, 49%)
CMYKcmyk(13.7%, 58.9%, 0%, 51.4%)
CIE-LABlab(31.69, 37.24, -31.15)
CIE-LCHlch(31.69, 48.55, 320.10°)
OKLaboklab(42.69% 0.0956 -0.0868)
OKLCHoklch(42.69% 0.129 317.7)
XYZxyz(10.8848, 6.9491, 19.8328)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B337C #447C33
analogous
#47337C #6B337C #7C3369
triadic
#6B337C #7C6B33 #337C6B
tetradic
#6B337C #7C4733 #447C33 #33697C
square
#6B337C #7C4733 #447C33 #33697C
split-complementary
#6B337C #697C33 #337C47
monochromatic
#200F25 #462151 #6B337C #9045A7 #AC68C1

Accessibility & contrast

On white

8.79
#6B337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6B337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B337C
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B337C#FFFFFF#000000##FFFFFF
##6B337C1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#364C7A
Tritanopia (blue-blind)
#6B3F52
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b337c;
/* rgb */ color: rgb(107, 51, 124);
/* oklch */ color: oklch(42.7% 0.129 317.7);
Tailwind
colors: {
  custom: {
    50: '#976ea2',
    500: '#6b337c',
    950: '#000000',
  },
}
SCSS
$custom: #6b337c;
$custom-light: #976ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b337c",
  "rgb": {
    "r": 107,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 286.027,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42689,
    "c": 0.12913,
    "h": 317.7
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#6B337C
secondary
#72A962
accent
#D25673
background
#F9F6FA
surface
#F2ECF3
border
#CCC7CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6B337C

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

Preview Lab → · Contrast checker → · Palette generator →

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