#6F317B#6F317B

#6F317B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 42.9% C 0.133 H 320.9°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6F317B
RGBrgb(111, 49, 123)
HSLhsl(290, 43%, 34%)
HSVhsv(290, 60%, 48%)
CMYKcmyk(9.8%, 60.2%, 0%, 51.8%)
CIE-LABlab(31.82, 39.21, -30.27)
CIE-LCHlch(31.82, 49.54, 322.33°)
OKLaboklab(42.89% 0.1035 -0.0842)
OKLCHoklch(42.89% 0.133 320.9)
XYZxyz(11.2286, 7.0067, 19.4960)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F317B #3D7B31
analogous
#4A317B #6F317B #7B3162
triadic
#6F317B #7B6F31 #317B6F
tetradic
#6F317B #7B4A31 #3D7B31 #31627B
square
#6F317B #7B4A31 #3D7B31 #31627B
split-complementary
#6F317B #627B31 #317B4A
monochromatic
#200E23 #48204F #6F317B #9642A7 #B365C2

Accessibility & contrast

On white

8.75
#6F317B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6F317B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F317B
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F317B#FFFFFF#000000##FFFFFF
##6F317B1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467D
Deuteranopia (green-blind)
#384D79
Tritanopia (blue-blind)
#703C51
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f317b;
/* rgb */ color: rgb(111, 49, 123);
/* oklch */ color: oklch(42.9% 0.133 320.9);
Tailwind
colors: {
  custom: {
    50: '#9a6da1',
    500: '#6f317b',
    950: '#000000',
  },
}
SCSS
$custom: #6f317b;
$custom-light: #9a6da1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f317b",
  "rgb": {
    "r": 111,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 290.27,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42888,
    "c": 0.13342,
    "h": 320.9
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#6F317B
secondary
#6BA95F
accent
#D35569
background
#F9F6FA
surface
#F2ECF3
border
#CCC7CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6F317B

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

Preview Lab → · Contrast checker → · Palette generator →

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