#6F45AE#6F45AE

#6F45AE is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.2% C 0.161 H 298.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#6F45AE
RGBrgb(111, 69, 174)
HSLhsl(264, 43%, 48%)
HSVhsv(264, 60%, 68%)
CMYKcmyk(36.2%, 60.3%, 0%, 31.8%)
CIE-LABlab(39.06, 40.60, -49.78)
CIE-LCHlch(39.06, 64.24, 309.20°)
OKLaboklab(49.19% 0.0776 -0.1413)
OKLCHoklch(49.19% 0.161 298.8)
XYZxyz(16.3218, 10.6916, 41.2400)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45AE #84AE45
analogous
#454FAE #6F45AE #A345AE
triadic
#6F45AE #AE6F45 #45AE6F
tetradic
#6F45AE #AE454F #84AE45 #45AEA3
square
#6F45AE #AE454F #84AE45 #45AEA3
split-complementary
#6F45AE #AEA345 #4FAE45
monochromatic
#372256 #533482 #6F45AE #8F6CC5 #B097D6

Accessibility & contrast

On white

6.69
#6F45AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6F45AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45AE
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45AE#FFFFFF#000000##FFFFFF
##6F45AE1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#1E5BAC
Tritanopia (blue-blind)
#615B73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6f45ae;
/* rgb */ color: rgb(111, 69, 174);
/* oklch */ color: oklch(49.2% 0.161 298.8);
Tailwind
colors: {
  custom: {
    50: '#9c7bc7',
    500: '#6f45ae',
    950: '#000000',
  },
}
SCSS
$custom: #6f45ae;
$custom-light: #9c7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45ae",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 264,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49193,
    "c": 0.16124,
    "h": 298.8
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#6F45AE
secondary
#ADC28D
accent
#D355A1
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6F45AE

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

Preview Lab → · Contrast checker → · Palette generator →

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