#6B348D#6B348D

#6B348D is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.9% C 0.147 H 310.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#6B348D
RGBrgb(107, 52, 141)
HSLhsl(277, 46%, 38%)
HSVhsv(277, 63%, 55%)
CMYKcmyk(24.1%, 63.1%, 0%, 44.7%)
CIE-LABlab(32.93, 40.61, -39.73)
CIE-LCHlch(32.93, 56.81, 315.63°)
OKLaboklab(43.93% 0.0946 -0.1119)
OKLCHoklch(43.93% 0.147 310.2)
XYZxyz(12.0982, 7.5051, 26.0054)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B348D #568D34
analogous
#3F348D #6B348D #8D3482
triadic
#6B348D #8D6B34 #348D6B
tetradic
#6B348D #8D3F34 #568D34 #34828D
square
#6B348D #8D3F34 #568D34 #34828D
split-complementary
#6B348D #828D34 #348D3F
monochromatic
#271334 #492460 #6B348D #8D44BA #A871CB

Accessibility & contrast

On white

8.40
#6B348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6B348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B348D
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B348D#FFFFFF#000000##FFFFFF
##6B348D1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4B90
Deuteranopia (green-blind)
#2A4E8B
Tritanopia (blue-blind)
#67455B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b348d;
/* rgb */ color: rgb(107, 52, 141);
/* oklch */ color: oklch(43.9% 0.147 310.2);
Tailwind
colors: {
  custom: {
    50: '#986faf',
    500: '#6b348d',
    950: '#000000',
  },
}
SCSS
$custom: #6b348d;
$custom-light: #986faf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b348d",
  "rgb": {
    "r": 107,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 277.079,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43929,
    "c": 0.14653,
    "h": 310.2
  },
  "luminance": 0.07505
}

Semantic roles & 50–950 ramp

primary
#6B348D
secondary
#86B36A
accent
#D65284
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6B348D

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

Preview Lab → · Contrast checker → · Palette generator →

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