#6B337E#6B337E

#6B337E is a dark, vivid purple. Relative luminance 0.070; OKLCH L 42.8% C 0.131 H 316.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6B337E
RGBrgb(107, 51, 126)
HSLhsl(285, 42%, 35%)
HSVhsv(285, 60%, 49%)
CMYKcmyk(15.1%, 59.5%, 0%, 50.6%)
CIE-LABlab(31.81, 37.69, -32.21)
CIE-LCHlch(31.81, 49.58, 319.48°)
OKLaboklab(42.81% 0.0957 -0.0899)
OKLCHoklch(42.81% 0.131 316.8)
XYZxyz(11.0126, 7.0002, 20.5057)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B337E #467E33
analogous
#46337E #6B337E #7E336C
triadic
#6B337E #7E6B33 #337E6B
tetradic
#6B337E #7E4633 #467E33 #336C7E
square
#6B337E #7E4633 #467E33 #336C7E
split-complementary
#6B337E #6C7E33 #337E46
monochromatic
#211027 #462152 #6B337E #9045AA #AC69C2

Accessibility & contrast

On white

8.75
#6B337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6B337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B337E
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B337E#FFFFFF#000000##FFFFFF
##6B337E1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204780
Deuteranopia (green-blind)
#344D7C
Tritanopia (blue-blind)
#6A3F53
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b337e;
/* rgb */ color: rgb(107, 51, 126);
/* oklch */ color: oklch(42.8% 0.131 316.8);
Tailwind
colors: {
  custom: {
    50: '#976ea4',
    500: '#6b337e',
    950: '#000000',
  },
}
SCSS
$custom: #6b337e;
$custom-light: #976ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b337e",
  "rgb": {
    "r": 107,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 284.8,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42812,
    "c": 0.13132,
    "h": 316.8
  },
  "luminance": 0.07
}

Semantic roles & 50–950 ramp

primary
#6B337E
secondary
#75AA63
accent
#D25675
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6B337E

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

Preview Lab → · Contrast checker → · Palette generator →

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