#6F5DAD#6F5DAD

#6F5DAD is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.3% C 0.123 H 292.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6F5DAD
RGBrgb(111, 93, 173)
HSLhsl(254, 33%, 52%)
HSVhsv(254, 46%, 68%)
CMYKcmyk(35.8%, 46.2%, 0%, 32.2%)
CIE-LABlab(44.55, 26.18, -40.40)
CIE-LCHlch(44.55, 48.14, 302.95°)
OKLaboklab(53.25% 0.0461 -0.1138)
OKLCHoklch(53.25% 0.123 292.1)
XYZxyz(18.0107, 14.2249, 41.3238)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5DAD #9BAD5D
analogous
#5D73AD #6F5DAD #975DAD
triadic
#6F5DAD #AD6F5D #5DAD6F
tetradic
#6F5DAD #AD5D73 #9BAD5D #5DAD97
square
#6F5DAD #AD5D73 #9BAD5D #5DAD97
split-complementary
#6F5DAD #AD975D #73AD5D
monochromatic
#3B305F #544588 #6F5DAD #9386C2 #B7AED6

Accessibility & contrast

On white

5.46
#6F5DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6F5DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5DAD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5DAD#FFFFFF#000000##FFFFFF
##6F5DAD1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426BB0
Deuteranopia (green-blind)
#4468AB
Tritanopia (blue-blind)
#606C7D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6f5dad;
/* rgb */ color: rgb(111, 93, 173);
/* oklch */ color: oklch(53.3% 0.123 292.1);
Tailwind
colors: {
  custom: {
    50: '#9b8bc6',
    500: '#6f5dad',
    950: '#000000',
  },
}
SCSS
$custom: #6f5dad;
$custom-light: #9b8bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5dad",
  "rgb": {
    "r": 111,
    "g": 93,
    "b": 173
  },
  "hsl": {
    "h": 253.5,
    "s": 32.787,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53253,
    "c": 0.12282,
    "h": 292.1
  },
  "luminance": 0.14225
}

Semantic roles & 50–950 ramp

primary
#6F5DAD
secondary
#BDC4A1
accent
#C95FB1
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #6F5DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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