#6F409C#6F409C

#6F409C is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.2% C 0.147 H 305.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6F409C
RGBrgb(111, 64, 156)
HSLhsl(271, 42%, 43%)
HSVhsv(271, 59%, 61%)
CMYKcmyk(28.8%, 59%, 0%, 38.8%)
CIE-LABlab(36.83, 38.76, -42.59)
CIE-LCHlch(36.83, 57.59, 312.31°)
OKLaboklab(47.19% 0.0842 -0.1202)
OKLCHoklch(47.19% 0.147 305)
XYZxyz(14.3884, 9.4467, 32.5114)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F409C #6D9C40
analogous
#41409C #6F409C #9C409B
triadic
#6F409C #9C6F40 #409C6F
tetradic
#6F409C #9C4140 #6D9C40 #409B9C
square
#6F409C #9C4140 #6D9C40 #409B9C
split-complementary
#6F409C #9B9C40 #409C41
monochromatic
#311C45 #502E71 #6F409C #8E5DBC #AC88CE

Accessibility & contrast

On white

7.27
#6F409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6F409C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F409C
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F409C#FFFFFF#000000##FFFFFF
##6F409C1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A559F
Deuteranopia (green-blind)
#2D579A
Tritanopia (blue-blind)
#675268
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f409c;
/* rgb */ color: rgb(111, 64, 156);
/* oklch */ color: oklch(47.2% 0.147 305.0);
Tailwind
colors: {
  custom: {
    50: '#9b77ba',
    500: '#6f409c',
    950: '#000000',
  },
}
SCSS
$custom: #6f409c;
$custom-light: #9b77ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6f409c",
  "rgb": {
    "r": 111,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 270.652,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47191,
    "c": 0.14676,
    "h": 305
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#6F409C
secondary
#9BB97F
accent
#D25693
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6F409C

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

Preview Lab → · Contrast checker → · Palette generator →

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