#6F3496#6F3496

#6F3496 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.158 H 309.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6F3496
RGBrgb(111, 52, 150)
HSLhsl(276, 49%, 40%)
HSVhsv(276, 65%, 59%)
CMYKcmyk(26%, 65.3%, 0%, 41.2%)
CIE-LABlab(34.06, 43.72, -43.39)
CIE-LCHlch(34.06, 61.60, 315.21°)
OKLaboklab(45.05% 0.0997 -0.1225)
OKLCHoklch(45.05% 0.158 309.1)
XYZxyz(13.2875, 8.0377, 29.6997)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3496 #5B9634
analogous
#3E3496 #6F3496 #96348C
triadic
#6F3496 #966F34 #34966F
tetradic
#6F3496 #963E34 #5B9634 #348C96
square
#6F3496 #963E34 #5B9634 #348C96
split-complementary
#6F3496 #8C9634 #34963E
monochromatic
#2C143B #4D2469 #6F3496 #9048BF #AB75CF

Accessibility & contrast

On white

8.05
#6F3496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6F3496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3496
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3496#FFFFFF#000000##FFFFFF
##6F34961.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#255194
Tritanopia (blue-blind)
#694860
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f3496;
/* rgb */ color: rgb(111, 52, 150);
/* oklch */ color: oklch(45.1% 0.158 309.1);
Tailwind
colors: {
  custom: {
    50: '#9c6fb5',
    500: '#6f3496',
    950: '#000000',
  },
}
SCSS
$custom: #6f3496;
$custom-light: #9c6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3496",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 276.122,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45053,
    "c": 0.15795,
    "h": 309.1
  },
  "luminance": 0.08037
}

Semantic roles & 50–950 ramp

primary
#6F3496
secondary
#8BB86E
accent
#D85086
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6F3496

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

Preview Lab → · Contrast checker → · Palette generator →

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