#6B348E#6B348E

#6B348E is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.0% C 0.148 H 309.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#6B348E
RGBrgb(107, 52, 142)
HSLhsl(277, 46%, 38%)
HSVhsv(277, 63%, 56%)
CMYKcmyk(24.6%, 63.4%, 0%, 44.3%)
CIE-LABlab(33.00, 40.85, -40.24)
CIE-LCHlch(33.00, 57.34, 315.43°)
OKLaboklab(44% 0.0946 -0.1134)
OKLCHoklch(44% 0.148 309.8)
XYZxyz(12.1729, 7.5350, 26.3991)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B348E #578E34
analogous
#3E348E #6B348E #8E3484
triadic
#6B348E #8E6B34 #348E6B
tetradic
#6B348E #8E3E34 #578E34 #34848E
square
#6B348E #8E3E34 #578E34 #34848E
split-complementary
#6B348E #848E34 #348E3E
monochromatic
#271334 #492461 #6B348E #8D44BB #A871CB

Accessibility & contrast

On white

8.38
#6B348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6B348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B348E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B348E#FFFFFF#000000##FFFFFF
##6B348E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4B91
Deuteranopia (green-blind)
#294E8C
Tritanopia (blue-blind)
#66455C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b348e;
/* rgb */ color: rgb(107, 52, 142);
/* oklch */ color: oklch(44.0% 0.148 309.8);
Tailwind
colors: {
  custom: {
    50: '#986fb0',
    500: '#6b348e',
    950: '#000000',
  },
}
SCSS
$custom: #6b348e;
$custom-light: #986fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b348e",
  "rgb": {
    "r": 107,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 276.667,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43996,
    "c": 0.14767,
    "h": 309.8
  },
  "luminance": 0.07535
}

Semantic roles & 50–950 ramp

primary
#6B348E
secondary
#87B36A
accent
#D65285
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6B348E

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

Preview Lab → · Contrast checker → · Palette generator →

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