#6F5AAA#6F5AAA

#6F5AAA is a mid, vivid violet. Relative luminance 0.136; OKLCH L 52.5% C 0.123 H 293.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6F5AAA
RGBrgb(111, 90, 170)
HSLhsl(256, 32%, 51%)
HSVhsv(256, 47%, 67%)
CMYKcmyk(34.7%, 47.1%, 0%, 33.3%)
CIE-LABlab(43.64, 27.17, -40.08)
CIE-LCHlch(43.64, 48.42, 304.14°)
OKLaboklab(52.52% 0.0498 -0.1129)
OKLCHoklch(52.52% 0.123 293.8)
XYZxyz(17.4655, 13.5938, 39.7261)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5AAA #95AA5A
analogous
#5A6DAA #6F5AAA #975AAA
triadic
#6F5AAA #AA6F5A #5AAA6F
tetradic
#6F5AAA #AA5A6D #95AA5A #5AAA97
square
#6F5AAA #AA5A6D #95AA5A #5AAA97
split-complementary
#6F5AAA #AA975A #6DAA5A
monochromatic
#3A2F5B #544483 #6F5AAA #9282BF #B6ABD4

Accessibility & contrast

On white

5.65
#6F5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6F5AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5AAA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5AAA#FFFFFF#000000##FFFFFF
##6F5AAA1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#4266A8
Tritanopia (blue-blind)
#61697A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6f5aaa;
/* rgb */ color: rgb(111, 90, 170);
/* oklch */ color: oklch(52.5% 0.123 293.8);
Tailwind
colors: {
  custom: {
    50: '#9b89c4',
    500: '#6f5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #6f5aaa;
$custom-light: #9b89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5aaa",
  "rgb": {
    "r": 111,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 255.75,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52516,
    "c": 0.1234,
    "h": 293.8
  },
  "luminance": 0.13594
}

Semantic roles & 50–950 ramp

primary
#6F5AAA
secondary
#B8C29E
accent
#C860AD
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B12
muted
#7E7C81

Preview Lab

Preview with #6F5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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