#6B347B#6B347B

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

Color values

HEX#6B347B
RGBrgb(107, 52, 123)
HSLhsl(286, 41%, 34%)
HSVhsv(286, 58%, 48%)
CMYKcmyk(13%, 57.7%, 0%, 51.8%)
CIE-LABlab(31.83, 36.48, -30.29)
CIE-LCHlch(31.83, 47.42, 320.30°)
OKLaboklab(42.78% 0.0941 -0.0844)
OKLCHoklch(42.78% 0.126 318.1)
XYZxyz(10.8661, 7.0123, 19.5162)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B347B #447B34
analogous
#48347B #6B347B #7B3468
triadic
#6B347B #7B6B34 #347B6B
tetradic
#6B347B #7B4834 #447B34 #34687B
square
#6B347B #7B4834 #447B34 #34687B
split-complementary
#6B347B #687B34 #347B48
monochromatic
#201025 #462250 #6B347B #9046A6 #AC6AC0

Accessibility & contrast

On white

8.74
#6B347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B347B
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B347B#FFFFFF#000000##FFFFFF
##6B347B1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477D
Deuteranopia (green-blind)
#374D79
Tritanopia (blue-blind)
#6B3F52
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b347b;
/* rgb */ color: rgb(107, 52, 123);
/* oklch */ color: oklch(42.8% 0.126 318.1);
Tailwind
colors: {
  custom: {
    50: '#976ea1',
    500: '#6b347b',
    950: '#000000',
  },
}
SCSS
$custom: #6b347b;
$custom-light: #976ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b347b",
  "rgb": {
    "r": 107,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 286.479,
    "s": 40.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42776,
    "c": 0.12635,
    "h": 318.1
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#6B347B
secondary
#72A863
accent
#D05773
background
#F9F6FA
surface
#F2ECF3
border
#CCC7CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6B347B

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

Preview Lab → · Contrast checker → · Palette generator →

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