#6F397D#6F397D

#6F397D is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.2% C 0.122 H 319.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#6F397D
RGBrgb(111, 57, 125)
HSLhsl(288, 37%, 36%)
HSVhsv(288, 54%, 49%)
CMYKcmyk(11.2%, 54.4%, 0%, 51%)
CIE-LABlab(33.54, 35.35, -28.82)
CIE-LCHlch(33.54, 45.61, 320.81°)
OKLaboklab(44.18% 0.0922 -0.08)
OKLCHoklch(44.18% 0.122 319)
XYZxyz(11.7199, 7.7869, 20.2837)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F397D #477D39
analogous
#4D397D #6F397D #7D3969
triadic
#6F397D #7D6F39 #397D6F
tetradic
#6F397D #7D4D39 #477D39 #39697D
square
#6F397D #7D4D39 #477D39 #39697D
split-complementary
#6F397D #697D39 #397D4D
monochromatic
#241329 #4A2653 #6F397D #944CA7 #AF72BF

Accessibility & contrast

On white

8.21
#6F397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6F397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F397D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F397D#FFFFFF#000000##FFFFFF
##6F397D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7F
Deuteranopia (green-blind)
#3D517B
Tritanopia (blue-blind)
#6F4355
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f397d;
/* rgb */ color: rgb(111, 57, 125);
/* oklch */ color: oklch(44.2% 0.122 319.0);
Tailwind
colors: {
  custom: {
    50: '#9a72a3',
    500: '#6f397d',
    950: '#000000',
  },
}
SCSS
$custom: #6f397d;
$custom-light: #9a72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f397d",
  "rgb": {
    "r": 111,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 287.647,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44181,
    "c": 0.12206,
    "h": 319
  },
  "luminance": 0.07786
}

Semantic roles & 50–950 ramp

primary
#6F397D
secondary
#77A86A
accent
#CD5A72
background
#F9F7FA
surface
#F2EDF3
border
#CCC8CD
text
#0E080F
muted
#7E7B7F

Preview Lab

Preview with #6F397D

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

Preview Lab → · Contrast checker → · Palette generator →

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