#6F4B97#6F4B97

#6F4B97 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.7% C 0.122 H 304.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#6F4B97
RGBrgb(111, 75, 151)
HSLhsl(268, 34%, 44%)
HSVhsv(268, 50%, 59%)
CMYKcmyk(26.5%, 50.3%, 0%, 40.8%)
CIE-LABlab(38.98, 31.15, -36.15)
CIE-LCHlch(38.98, 47.72, 310.75°)
OKLaboklab(48.68% 0.0686 -0.1014)
OKLCHoklch(48.68% 0.122 304.1)
XYZxyz(14.6563, 10.6461, 30.5549)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4B97 #73974B
analogous
#4B4D97 #6F4B97 #954B97
triadic
#6F4B97 #976F4B #4B976F
tetradic
#6F4B97 #974B4D #73974B #4B9795
square
#6F4B97 #974B4D #73974B #4B9795
split-complementary
#6F4B97 #97954B #4D974B
monochromatic
#332245 #51376E #6F4B97 #8E6AB5 #AD93C9

Accessibility & contrast

On white

6.71
#6F4B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6F4B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4B97
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4B97#FFFFFF#000000##FFFFFF
##6F4B971.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9A
Deuteranopia (green-blind)
#3E5C95
Tritanopia (blue-blind)
#68586A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6f4b97;
/* rgb */ color: rgb(111, 75, 151);
/* oklch */ color: oklch(48.7% 0.122 304.1);
Tailwind
colors: {
  custom: {
    50: '#9a7eb6',
    500: '#6f4b97',
    950: '#000000',
  },
}
SCSS
$custom: #6f4b97;
$custom-light: #9a7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4b97",
  "rgb": {
    "r": 111,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 268.421,
    "s": 33.628,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4868,
    "c": 0.12246,
    "h": 304.1
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#6F4B97
secondary
#A0B688
accent
#CA5E97
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6F4B97

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

Preview Lab → · Contrast checker → · Palette generator →

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