#6F4ABC#6F4ABC

#6F4ABC is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.0% C 0.171 H 294.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6F4ABC
RGBrgb(111, 74, 188)
HSLhsl(259, 46%, 51%)
HSVhsv(259, 61%, 74%)
CMYKcmyk(41%, 60.6%, 0%, 26.3%)
CIE-LABlab(41.07, 41.57, -54.78)
CIE-LCHlch(41.07, 68.76, 307.19°)
OKLaboklab(50.97% 0.0711 -0.156)
OKLCHoklch(50.97% 0.171 294.5)
XYZxyz(18.0790, 11.9075, 48.9130)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4ABC #97BC4A
analogous
#4A5EBC #6F4ABC #A84ABC
triadic
#6F4ABC #BC6F4A #4ABC6F
tetradic
#6F4ABC #BC4A5E #97BC4A #4ABCA8
square
#6F4ABC #BC4A5E #97BC4A #4ABCA8
split-complementary
#6F4ABC #BCA84A #5EBC4A
monochromatic
#3B2666 #543693 #6F4ABC #9377CD #B6A3DD

Accessibility & contrast

On white

6.21
#6F4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6F4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4ABC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4ABC#FFFFFF#000000##FFFFFF
##6F4ABC1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#095FBA
Tritanopia (blue-blind)
#5B637C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6f4abc;
/* rgb */ color: rgb(111, 74, 188);
/* oklch */ color: oklch(51.0% 0.171 294.5);
Tailwind
colors: {
  custom: {
    50: '#9e7ed1',
    500: '#6f4abc',
    950: '#000000',
  },
}
SCSS
$custom: #6f4abc;
$custom-light: #9e7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4abc",
  "rgb": {
    "r": 111,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 259.474,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.17146,
    "h": 294.5
  },
  "luminance": 0.11908
}

Semantic roles & 50–950 ramp

primary
#6F4ABC
secondary
#BACA98
accent
#D652AB
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6F4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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