#6F408D#6F408D

#6F408D is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.2% C 0.129 H 310.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#6F408D
RGBrgb(111, 64, 141)
HSLhsl(277, 38%, 40%)
HSVhsv(277, 55%, 55%)
CMYKcmyk(21.3%, 54.6%, 0%, 44.7%)
CIE-LABlab(35.93, 35.08, -34.92)
CIE-LCHlch(35.93, 49.50, 315.14°)
OKLaboklab(46.23% 0.0835 -0.0978)
OKLCHoklch(46.23% 0.129 310.5)
XYZxyz(13.1958, 8.9696, 26.2303)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F408D #5E8D40
analogous
#48408D #6F408D #8D4085
triadic
#6F408D #8D6F40 #408D6F
tetradic
#6F408D #8D4840 #5E8D40 #40858D
square
#6F408D #8D4840 #5E8D40 #40858D
split-complementary
#6F408D #858D40 #408D48
monochromatic
#2D1A39 #4E2D63 #6F408D #8F57B3 #AB81C6

Accessibility & contrast

On white

7.52
#6F408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6F408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F408D
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F408D#FFFFFF#000000##FFFFFF
##6F408D1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#3A558B
Tritanopia (blue-blind)
#6B4D60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f408d;
/* rgb */ color: rgb(111, 64, 141);
/* oklch */ color: oklch(46.2% 0.129 310.5);
Tailwind
colors: {
  custom: {
    50: '#9a77af',
    500: '#6f408d',
    950: '#000000',
  },
}
SCSS
$custom: #6f408d;
$custom-light: #9a77af;
$custom-dark: #000000;
JSON
{
  "hex": "#6f408d",
  "rgb": {
    "r": 111,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 276.623,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46234,
    "c": 0.12859,
    "h": 310.5
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#6F408D
secondary
#8EB078
accent
#CE5A87
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0910
muted
#7E7B7F

Preview Lab

Preview with #6F408D

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

Preview Lab → · Contrast checker → · Palette generator →

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