#6E54AF#6E54AF

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

Color values

HEX#6E54AF
RGBrgb(110, 84, 175)
HSLhsl(257, 36%, 51%)
HSVhsv(257, 52%, 69%)
CMYKcmyk(37.1%, 52%, 0%, 31.4%)
CIE-LABlab(42.38, 31.90, -45.04)
CIE-LCHlch(42.38, 55.19, 305.31°)
OKLaboklab(51.64% 0.0571 -0.1274)
OKLCHoklch(51.64% 0.14 294.1)
XYZxyz(17.3366, 12.7504, 42.0968)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E54AF #95AF54
analogous
#5467AF #6E54AF #9B54AF
triadic
#6E54AF #AF6E54 #54AF6E
tetradic
#6E54AF #AF5467 #95AF54 #54AF9B
square
#6E54AF #AF5467 #95AF54 #54AF9B
split-complementary
#6E54AF #AF9B54 #67AF54
monochromatic
#3A2C5D #543F87 #6E54AF #917EC3 #B5A7D6

Accessibility & contrast

On white

5.92
#6E54AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6E54AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E54AF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E54AF#FFFFFF#000000##FFFFFF
##6E54AF1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#3563AD
Tritanopia (blue-blind)
#5E6679
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6e54af;
/* rgb */ color: rgb(110, 84, 175);
/* oklch */ color: oklch(51.6% 0.140 294.1);
Tailwind
colors: {
  custom: {
    50: '#9b85c7',
    500: '#6e54af',
    950: '#000000',
  },
}
SCSS
$custom: #6e54af;
$custom-light: #9b85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e54af",
  "rgb": {
    "r": 110,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 257.143,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51643,
    "c": 0.13966,
    "h": 294.1
  },
  "luminance": 0.12751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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