#6F3F97#6F3F97

#6F3F97 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.7% C 0.142 H 306.9°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#6F3F97
RGBrgb(111, 63, 151)
HSLhsl(273, 41%, 42%)
HSVhsv(273, 58%, 59%)
CMYKcmyk(26.5%, 58.3%, 0%, 40.8%)
CIE-LABlab(36.31, 38.08, -40.40)
CIE-LCHlch(36.31, 55.52, 313.30°)
OKLaboklab(46.71% 0.0854 -0.1138)
OKLCHoklch(46.71% 0.142 306.9)
XYZxyz(13.9178, 9.1690, 30.3088)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3F97 #67973F
analogous
#433F97 #6F3F97 #973F93
triadic
#6F3F97 #976F3F #3F976F
tetradic
#6F3F97 #97433F #67973F #3F9397
square
#6F3F97 #97433F #67973F #3F9397
split-complementary
#6F3F97 #93973F #3F9743
monochromatic
#301B41 #4F2D6C #6F3F97 #8E59BA #AB85CC

Accessibility & contrast

On white

7.41
#6F3F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6F3F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3F97
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3F97#FFFFFF#000000##FFFFFF
##6F3F971.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#315695
Tritanopia (blue-blind)
#695065
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f3f97;
/* rgb */ color: rgb(111, 63, 151);
/* oklch */ color: oklch(46.7% 0.142 306.9);
Tailwind
colors: {
  custom: {
    50: '#9b76b6',
    500: '#6f3f97',
    950: '#000000',
  },
}
SCSS
$custom: #6f3f97;
$custom-light: #9b76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3f97",
  "rgb": {
    "r": 111,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 272.727,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46708,
    "c": 0.14231,
    "h": 306.9
  },
  "luminance": 0.09169
}

Semantic roles & 50–950 ramp

primary
#6F3F97
secondary
#96B67C
accent
#D1578E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6F3F97

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

Preview Lab → · Contrast checker → · Palette generator →

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