#6F54AF#6F54AF

#6F54AF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 51.7% C 0.140 H 294.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6F54AF
RGBrgb(111, 84, 175)
HSLhsl(258, 36%, 51%)
HSVhsv(258, 52%, 69%)
CMYKcmyk(36.6%, 52%, 0%, 31.4%)
CIE-LABlab(42.48, 32.16, -44.87)
CIE-LCHlch(42.48, 55.21, 305.63°)
OKLaboklab(51.74% 0.0584 -0.1269)
OKLCHoklch(51.74% 0.14 294.7)
XYZxyz(17.4617, 12.8150, 42.1027)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F54AF #94AF54
analogous
#5466AF #6F54AF #9C54AF
triadic
#6F54AF #AF6F54 #54AF6F
tetradic
#6F54AF #AF5466 #94AF54 #54AF9C
square
#6F54AF #AF5466 #94AF54 #54AF9C
split-complementary
#6F54AF #AF9C54 #66AF54
monochromatic
#3A2C5D #543F87 #6F54AF #927EC3 #B5A7D6

Accessibility & contrast

On white

5.89
#6F54AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6F54AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F54AF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F54AF#FFFFFF#000000##FFFFFF
##6F54AF1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#606679
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6f54af;
/* rgb */ color: rgb(111, 84, 175);
/* oklch */ color: oklch(51.7% 0.140 294.7);
Tailwind
colors: {
  custom: {
    50: '#9c85c7',
    500: '#6f54af',
    950: '#000000',
  },
}
SCSS
$custom: #6f54af;
$custom-light: #9c85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f54af",
  "rgb": {
    "r": 111,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 257.802,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5174,
    "c": 0.13974,
    "h": 294.7
  },
  "luminance": 0.12815
}

Semantic roles & 50–950 ramp

primary
#6F54AF
secondary
#B8C49B
accent
#CC5CAB
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6F54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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