#6F4EA2#6F4EA2

#6F4EA2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.9% C 0.132 H 299.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6F4EA2
RGBrgb(111, 78, 162)
HSLhsl(264, 35%, 47%)
HSVhsv(264, 52%, 64%)
CMYKcmyk(31.5%, 51.9%, 0%, 36.5%)
CIE-LABlab(40.31, 32.22, -40.64)
CIE-LCHlch(40.31, 51.86, 308.41°)
OKLaboklab(49.87% 0.0655 -0.1145)
OKLCHoklch(49.87% 0.132 299.8)
XYZxyz(15.8000, 11.4368, 35.5505)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4EA2 #81A24E
analogous
#4E57A2 #6F4EA2 #994EA2
triadic
#6F4EA2 #A26F4E #4EA26F
tetradic
#6F4EA2 #A24E57 #81A24E #4EA299
square
#6F4EA2 #A24E57 #81A24E #4EA299
split-complementary
#6F4EA2 #A2994E #57A24E
monochromatic
#36264F #533A79 #6F4EA2 #8F72BB #B09BCF

Accessibility & contrast

On white

6.39
#6F4EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6F4EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4EA2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4EA2#FFFFFF#000000##FFFFFF
##6F4EA21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA5
Deuteranopia (green-blind)
#395EA0
Tritanopia (blue-blind)
#655E70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f4ea2;
/* rgb */ color: rgb(111, 78, 162);
/* oklch */ color: oklch(49.9% 0.132 299.8);
Tailwind
colors: {
  custom: {
    50: '#9b80be',
    500: '#6f4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #6f4ea2;
$custom-light: #9b80be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4ea2",
  "rgb": {
    "r": 111,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 263.571,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49873,
    "c": 0.13194,
    "h": 299.8
  },
  "luminance": 0.11437
}

Semantic roles & 50–950 ramp

primary
#6F4EA2
secondary
#ABBC90
accent
#CB5DA0
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6F4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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