#6F3C8A#6F3C8A

#6F3C8A is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.4% C 0.132 H 312.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6F3C8A
RGBrgb(111, 60, 138)
HSLhsl(279, 39%, 39%)
HSVhsv(279, 57%, 54%)
CMYKcmyk(19.6%, 56.5%, 0%, 45.9%)
CIE-LABlab(34.90, 36.63, -34.71)
CIE-LCHlch(34.90, 50.46, 316.54°)
OKLaboklab(45.42% 0.089 -0.0972)
OKLCHoklch(45.42% 0.132 312.5)
XYZxyz(12.7580, 8.4465, 24.9981)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3C8A #578A3C
analogous
#483C8A #6F3C8A #8A3C7E
triadic
#6F3C8A #8A6F3C #3C8A6F
tetradic
#6F3C8A #8A483C #578A3C #3C7E8A
square
#6F3C8A #8A483C #578A3C #3C7E8A
split-complementary
#6F3C8A #7E8A3C #3C8A48
monochromatic
#2A1735 #4D295F #6F3C8A #9150B3 #AC7BC6

Accessibility & contrast

On white

7.81
#6F3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6F3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3C8A
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3C8A#FFFFFF#000000##FFFFFF
##6F3C8A1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8D
Deuteranopia (green-blind)
#385388
Tritanopia (blue-blind)
#6C495D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f3c8a;
/* rgb */ color: rgb(111, 60, 138);
/* oklch */ color: oklch(45.4% 0.132 312.5);
Tailwind
colors: {
  custom: {
    50: '#9a74ac',
    500: '#6f3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #6f3c8a;
$custom-light: #9a74ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3c8a",
  "rgb": {
    "r": 111,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 279.231,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4542,
    "c": 0.13178,
    "h": 312.5
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#6F3C8A
secondary
#88AF73
accent
#CF5982
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6F3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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