#6B397A#6B397A

#6B397A is a dark, moderate purple. Relative luminance 0.075; OKLCH L 43.5% C 0.117 H 318.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#6B397A
RGBrgb(107, 57, 122)
HSLhsl(286, 36%, 35%)
HSVhsv(286, 53%, 48%)
CMYKcmyk(12.3%, 53.3%, 0%, 52.2%)
CIE-LABlab(32.83, 33.49, -28.10)
CIE-LCHlch(32.83, 43.72, 320.00°)
OKLaboklab(43.49% 0.0866 -0.078)
OKLCHoklch(43.49% 0.117 318)
XYZxyz(11.0389, 7.4576, 19.2665)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B397A #487A39
analogous
#4B397A #6B397A #7A3968
triadic
#6B397A #7A6B39 #397A6B
tetradic
#6B397A #7A4B39 #487A39 #39687A
square
#6B397A #7A4B39 #487A39 #39687A
split-complementary
#6B397A #687A39 #397A4B
monochromatic
#221227 #462650 #6B397A #904CA4 #AB71BD

Accessibility & contrast

On white

8.43
#6B397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6B397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B397A
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B397A#FFFFFF#000000##FFFFFF
##6B397A1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7C
Deuteranopia (green-blind)
#3C4F78
Tritanopia (blue-blind)
#6B4254
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b397a;
/* rgb */ color: rgb(107, 57, 122);
/* oklch */ color: oklch(43.5% 0.117 318.0);
Tailwind
colors: {
  custom: {
    50: '#9771a1',
    500: '#6b397a',
    950: '#000000',
  },
}
SCSS
$custom: #6b397a;
$custom-light: #9771a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b397a",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 286.154,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43488,
    "c": 0.11655,
    "h": 318
  },
  "luminance": 0.07457
}

Semantic roles & 50–950 ramp

primary
#6B397A
secondary
#77A669
accent
#CC5B76
background
#F9F6F9
surface
#F2ECF2
border
#CCC7CC
text
#0E080F
muted
#7E7B7E

Preview Lab

Preview with #6B397A

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

Preview Lab → · Contrast checker → · Palette generator →

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