#6F3C8D#6F3C8D

#6F3C8D is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.6% C 0.135 H 311.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#6F3C8D
RGBrgb(111, 60, 141)
HSLhsl(278, 40%, 39%)
HSVhsv(278, 57%, 55%)
CMYKcmyk(21.3%, 57.4%, 0%, 44.7%)
CIE-LABlab(35.07, 37.33, -36.27)
CIE-LCHlch(35.07, 52.05, 315.82°)
OKLaboklab(45.61% 0.0892 -0.1017)
OKLCHoklch(45.61% 0.135 311.2)
XYZxyz(12.9782, 8.5346, 26.1578)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3C8D #5A8D3C
analogous
#473C8D #6F3C8D #8D3C83
triadic
#6F3C8D #8D6F3C #3C8D6F
tetradic
#6F3C8D #8D473C #5A8D3C #3C838D
square
#6F3C8D #8D473C #5A8D3C #3C838D
split-complementary
#6F3C8D #838D3C #3C8D47
monochromatic
#2B1737 #4D2A62 #6F3C8D #9051B5 #AB7CC7

Accessibility & contrast

On white

7.76
#6F3C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6F3C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3C8D
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3C8D#FFFFFF#000000##FFFFFF
##6F3C8D1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#36538B
Tritanopia (blue-blind)
#6C4A5E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f3c8d;
/* rgb */ color: rgb(111, 60, 141);
/* oklch */ color: oklch(45.6% 0.135 311.2);
Tailwind
colors: {
  custom: {
    50: '#9b74af',
    500: '#6f3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #6f3c8d;
$custom-light: #9b74af;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3c8d",
  "rgb": {
    "r": 111,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 277.778,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.13528,
    "h": 311.2
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#6F3C8D
secondary
#8AB174
accent
#D05884
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6F3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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