#6F408C#6F408C

#6F408C is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.2% C 0.127 H 310.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#6F408C
RGBrgb(111, 64, 140)
HSLhsl(277, 37%, 40%)
HSVhsv(277, 54%, 55%)
CMYKcmyk(20.7%, 54.3%, 0%, 45.1%)
CIE-LABlab(35.87, 34.85, -34.40)
CIE-LCHlch(35.87, 48.96, 315.37°)
OKLaboklab(46.17% 0.0834 -0.0963)
OKLCHoklch(46.17% 0.127 310.9)
XYZxyz(13.1217, 8.9400, 25.8402)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F408C #5D8C40
analogous
#49408C #6F408C #8C4083
triadic
#6F408C #8C6F40 #408C6F
tetradic
#6F408C #8C4940 #5D8C40 #40838C
square
#6F408C #8C4940 #5D8C40 #40838C
split-complementary
#6F408C #838C40 #408C49
monochromatic
#2C1A38 #4E2D62 #6F408C #8F57B2 #AB81C5

Accessibility & contrast

On white

7.53
#6F408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F408C
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F408C#FFFFFF#000000##FFFFFF
##6F408C1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#3A558A
Tritanopia (blue-blind)
#6C4D60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f408c;
/* rgb */ color: rgb(111, 64, 140);
/* oklch */ color: oklch(46.2% 0.127 310.9);
Tailwind
colors: {
  custom: {
    50: '#9a77ae',
    500: '#6f408c',
    950: '#000000',
  },
}
SCSS
$custom: #6f408c;
$custom-light: #9a77ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6f408c",
  "rgb": {
    "r": 111,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 277.105,
    "s": 37.255,
    "l": 40
  },
  "oklch": {
    "l": 0.46173,
    "c": 0.12739,
    "h": 310.9
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#6F408C
secondary
#8DB078
accent
#CD5B86
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0910
muted
#7E7B7F

Preview Lab

Preview with #6F408C

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

Preview Lab → · Contrast checker → · Palette generator →

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