#6F479C#6F479C

#6F479C is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.3% C 0.136 H 303.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#6F479C
RGBrgb(111, 71, 156)
HSLhsl(268, 37%, 45%)
HSVhsv(268, 54%, 61%)
CMYKcmyk(28.8%, 54.5%, 0%, 38.8%)
CIE-LABlab(38.35, 34.77, -40.16)
CIE-LCHlch(38.35, 53.12, 310.89°)
OKLaboklab(48.31% 0.0747 -0.1131)
OKLCHoklch(48.31% 0.136 303.4)
XYZxyz(14.8082, 10.2863, 32.6514)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F479C #749C47
analogous
#474A9C #6F479C #9A479C
triadic
#6F479C #9C6F47 #479C6F
tetradic
#6F479C #9C474A #749C47 #479C9A
square
#6F479C #9C474A #749C47 #479C9A
split-complementary
#6F479C #9C9A47 #4A9C47
monochromatic
#332148 #513472 #6F479C #8E67BA #AD91CD

Accessibility & contrast

On white

6.87
#6F479C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6F479C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F479C
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F479C#FFFFFF#000000##FFFFFF
##6F479C1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599F
Deuteranopia (green-blind)
#365A9A
Tritanopia (blue-blind)
#67576A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6f479c;
/* rgb */ color: rgb(111, 71, 156);
/* oklch */ color: oklch(48.3% 0.136 303.4);
Tailwind
colors: {
  custom: {
    50: '#9b7bba',
    500: '#6f479c',
    950: '#000000',
  },
}
SCSS
$custom: #6f479c;
$custom-light: #9b7bba;
$custom-dark: #000000;
JSON
{
  "hex": "#6f479c",
  "rgb": {
    "r": 111,
    "g": 71,
    "b": 156
  },
  "hsl": {
    "h": 268.235,
    "s": 37.445,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48309,
    "c": 0.13557,
    "h": 303.4
  },
  "luminance": 0.10286
}

Semantic roles & 50–950 ramp

primary
#6F479C
secondary
#A1B886
accent
#CD5A97
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6F479C

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

Preview Lab → · Contrast checker → · Palette generator →

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