#6F54AA#6F54AA

#6F54AA is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.4% C 0.133 H 295.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6F54AA
RGBrgb(111, 84, 170)
HSLhsl(259, 34%, 50%)
HSVhsv(259, 51%, 67%)
CMYKcmyk(34.7%, 50.6%, 0%, 33.3%)
CIE-LABlab(42.19, 30.79, -42.39)
CIE-LCHlch(42.19, 52.39, 305.99°)
OKLaboklab(51.43% 0.058 -0.1197)
OKLCHoklch(51.43% 0.133 295.9)
XYZxyz(16.9797, 12.6222, 39.5642)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F54AA #8FAA54
analogous
#5464AA #6F54AA #9A54AA
triadic
#6F54AA #AA6F54 #54AA6F
tetradic
#6F54AA #AA5464 #8FAA54 #54AA9A
square
#6F54AA #AA5464 #8FAA54 #54AA9A
split-complementary
#6F54AA #AA9A54 #64AA54
monochromatic
#3A2C58 #544081 #6F54AA #917DBF #B4A6D3

Accessibility & contrast

On white

5.96
#6F54AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6F54AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F54AA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F54AA#FFFFFF#000000##FFFFFF
##6F54AA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#3B62A8
Tritanopia (blue-blind)
#626577
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6f54aa;
/* rgb */ color: rgb(111, 84, 170);
/* oklch */ color: oklch(51.4% 0.133 295.9);
Tailwind
colors: {
  custom: {
    50: '#9b85c4',
    500: '#6f54aa',
    950: '#000000',
  },
}
SCSS
$custom: #6f54aa;
$custom-light: #9b85c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f54aa",
  "rgb": {
    "r": 111,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 258.837,
    "s": 33.858,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51425,
    "c": 0.13299,
    "h": 295.9
  },
  "luminance": 0.12622
}

Semantic roles & 50–950 ramp

primary
#6F54AA
secondary
#B4C099
accent
#CA5EA8
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B12
muted
#7E7C81

Preview Lab

Preview with #6F54AA

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

Preview Lab → · Contrast checker → · Palette generator →

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