#6F3795#6F3795

#6F3795 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.152 H 309.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#6F3795
RGBrgb(111, 55, 149)
HSLhsl(276, 46%, 40%)
HSVhsv(276, 63%, 58%)
CMYKcmyk(25.5%, 63.1%, 0%, 41.6%)
CIE-LABlab(34.56, 41.93, -41.98)
CIE-LCHlch(34.56, 59.33, 314.97°)
OKLaboklab(45.4% 0.096 -0.1184)
OKLCHoklch(45.4% 0.152 309)
XYZxyz(13.3455, 8.2820, 29.3235)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3795 #5D9537
analogous
#403795 #6F3795 #95378C
triadic
#6F3795 #956F37 #37956F
tetradic
#6F3795 #954037 #5D9537 #378C95
square
#6F3795 #954037 #5D9537 #378C95
split-complementary
#6F3795 #8C9537 #379540
monochromatic
#2C163C #4E2768 #6F3795 #8F4CBD #AB79CD

Accessibility & contrast

On white

7.91
#6F3795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6F3795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3795
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3795#FFFFFF#000000##FFFFFF
##6F37951.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094F98
Deuteranopia (green-blind)
#2A5293
Tritanopia (blue-blind)
#6A4961
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f3795;
/* rgb */ color: rgb(111, 55, 149);
/* oklch */ color: oklch(45.4% 0.152 309.0);
Tailwind
colors: {
  custom: {
    50: '#9b71b5',
    500: '#6f3795',
    950: '#000000',
  },
}
SCSS
$custom: #6f3795;
$custom-light: #9b71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3795",
  "rgb": {
    "r": 111,
    "g": 55,
    "b": 149
  },
  "hsl": {
    "h": 275.745,
    "s": 46.078,
    "l": 40
  },
  "oklch": {
    "l": 0.45395,
    "c": 0.1524,
    "h": 309
  },
  "luminance": 0.08282
}

Semantic roles & 50–950 ramp

primary
#6F3795
secondary
#8DB671
accent
#D65287
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6F3795

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

Preview Lab → · Contrast checker → · Palette generator →

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