#6B3774#6B3774

#6B3774 is a dark, moderate purple. Relative luminance 0.071; OKLCH L 42.8% C 0.113 H 321.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6B3774
RGBrgb(107, 55, 116)
HSLhsl(291, 36%, 34%)
HSVhsv(291, 53%, 45%)
CMYKcmyk(7.8%, 52.6%, 0%, 54.5%)
CIE-LABlab(32.08, 33.30, -25.51)
CIE-LCHlch(32.08, 41.95, 322.55°)
OKLaboklab(42.83% 0.0888 -0.0705)
OKLCHoklch(42.83% 0.113 321.5)
XYZxyz(10.5816, 7.1196, 17.3364)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3774 #407437
analogous
#4C3774 #6B3774 #74375E
triadic
#6B3774 #746B37 #37746B
tetradic
#6B3774 #744C37 #407437 #375E74
square
#6B3774 #744C37 #407437 #375E74
split-complementary
#6B3774 #5E7437 #37744C
monochromatic
#1E1021 #45234A #6B3774 #914B9E #AE6CB9

Accessibility & contrast

On white

8.66
#6B3774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6B3774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3774
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3774#FFFFFF#000000##FFFFFF
##6B37741.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4876
Deuteranopia (green-blind)
#3D4D72
Tritanopia (blue-blind)
#6C3F50
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b3774;
/* rgb */ color: rgb(107, 55, 116);
/* oklch */ color: oklch(42.8% 0.113 321.5);
Tailwind
colors: {
  custom: {
    50: '#97709c',
    500: '#6b3774',
    950: '#000000',
  },
}
SCSS
$custom: #6b3774;
$custom-light: #97709c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3774",
  "rgb": {
    "r": 107,
    "g": 55,
    "b": 116
  },
  "hsl": {
    "h": 291.148,
    "s": 35.673,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4283,
    "c": 0.1134,
    "h": 321.5
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#6B3774
secondary
#6EA265
accent
#CC5C6D
background
#F9F6F9
surface
#F2ECF2
border
#CCC7CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #6B3774

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

Preview Lab → · Contrast checker → · Palette generator →

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