#6F3F8D#6F3F8D

#6F3F8D is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.1% C 0.130 H 310.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#6F3F8D
RGBrgb(111, 63, 141)
HSLhsl(277, 38%, 40%)
HSVhsv(277, 55%, 55%)
CMYKcmyk(21.3%, 55.3%, 0%, 44.7%)
CIE-LABlab(35.71, 35.65, -35.26)
CIE-LCHlch(35.71, 50.14, 315.31°)
OKLaboklab(46.08% 0.085 -0.0988)
OKLCHoklch(46.08% 0.13 310.7)
XYZxyz(13.1399, 8.8579, 26.2117)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3F8D #5D8D3F
analogous
#483F8D #6F3F8D #8D3F84
triadic
#6F3F8D #8D6F3F #3F8D6F
tetradic
#6F3F8D #8D483F #5D8D3F #3F848D
square
#6F3F8D #8D483F #5D8D3F #3F848D
split-complementary
#6F3F8D #848D3F #3F8D48
monochromatic
#2C1938 #4E2C63 #6F3F8D #8F56B3 #AB80C6

Accessibility & contrast

On white

7.58
#6F3F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6F3F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3F8D
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3F8D#FFFFFF#000000##FFFFFF
##6F3F8D1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295290
Deuteranopia (green-blind)
#39558B
Tritanopia (blue-blind)
#6B4C60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f3f8d;
/* rgb */ color: rgb(111, 63, 141);
/* oklch */ color: oklch(46.1% 0.130 310.7);
Tailwind
colors: {
  custom: {
    50: '#9a76af',
    500: '#6f3f8d',
    950: '#000000',
  },
}
SCSS
$custom: #6f3f8d;
$custom-light: #9a76af;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3f8d",
  "rgb": {
    "r": 111,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 276.923,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.46075,
    "c": 0.13028,
    "h": 310.7
  },
  "luminance": 0.08858
}

Semantic roles & 50–950 ramp

primary
#6F3F8D
secondary
#8DB177
accent
#CE5A86
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6F3F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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