#6B337B#6B337B

#6B337B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.6% C 0.128 H 318.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6B337B
RGBrgb(107, 51, 123)
HSLhsl(287, 41%, 34%)
HSVhsv(287, 59%, 48%)
CMYKcmyk(13%, 58.5%, 0%, 51.8%)
CIE-LABlab(31.63, 37.03, -30.61)
CIE-LCHlch(31.63, 48.04, 320.42°)
OKLaboklab(42.63% 0.0955 -0.0853)
OKLCHoklch(42.63% 0.128 318.2)
XYZxyz(10.8219, 6.9239, 19.5015)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B337B #437B33
analogous
#47337B #6B337B #7B3367
triadic
#6B337B #7B6B33 #337B6B
tetradic
#6B337B #7B4733 #437B33 #33677B
square
#6B337B #7B4733 #437B33 #33677B
split-complementary
#6B337B #677B33 #337B47
monochromatic
#200F24 #452150 #6B337B #9145A6 #AD68C0

Accessibility & contrast

On white

8.81
#6B337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6B337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B337B
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B337B#FFFFFF#000000##FFFFFF
##6B337B1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477D
Deuteranopia (green-blind)
#364C79
Tritanopia (blue-blind)
#6B3E52
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b337b;
/* rgb */ color: rgb(107, 51, 123);
/* oklch */ color: oklch(42.6% 0.128 318.2);
Tailwind
colors: {
  custom: {
    50: '#976ea1',
    500: '#6b337b',
    950: '#000000',
  },
}
SCSS
$custom: #6b337b;
$custom-light: #976ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b337b",
  "rgb": {
    "r": 107,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 286.667,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42628,
    "c": 0.12803,
    "h": 318.2
  },
  "luminance": 0.06924
}

Semantic roles & 50–950 ramp

primary
#6B337B
secondary
#71A862
accent
#D15772
background
#F9F6FA
surface
#F2ECF3
border
#CCC7CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6B337B

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

Preview Lab → · Contrast checker → · Palette generator →

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