#6D45AE#6D45AE

#6D45AE is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.0% C 0.161 H 297.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#6D45AE
RGBrgb(109, 69, 174)
HSLhsl(263, 43%, 48%)
HSVhsv(263, 60%, 68%)
CMYKcmyk(37.4%, 60.3%, 0%, 31.8%)
CIE-LABlab(38.83, 40.14, -50.15)
CIE-LCHlch(38.83, 64.23, 308.67°)
OKLaboklab(48.98% 0.0749 -0.1425)
OKLCHoklch(48.98% 0.161 297.7)
XYZxyz(16.0729, 10.5632, 41.2283)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45AE #86AE45
analogous
#4552AE #6D45AE #A145AE
triadic
#6D45AE #AE6D45 #45AE6D
tetradic
#6D45AE #AE4552 #86AE45 #45AEA1
square
#6D45AE #AE4552 #86AE45 #45AEA1
split-complementary
#6D45AE #AEA145 #52AE45
monochromatic
#362256 #523482 #6D45AE #8E6CC5 #AF97D6

Accessibility & contrast

On white

6.75
#6D45AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6D45AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45AE
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45AE#FFFFFF#000000##FFFFFF
##6D45AE1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#1B5AAC
Tritanopia (blue-blind)
#5E5C73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6d45ae;
/* rgb */ color: rgb(109, 69, 174);
/* oklch */ color: oklch(49.0% 0.161 297.7);
Tailwind
colors: {
  custom: {
    50: '#9b7ac7',
    500: '#6d45ae',
    950: '#000000',
  },
}
SCSS
$custom: #6d45ae;
$custom-light: #9b7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45ae",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 262.857,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48981,
    "c": 0.16096,
    "h": 297.7
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#6D45AE
secondary
#AEC28D
accent
#D355A3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6D45AE

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

Preview Lab → · Contrast checker → · Palette generator →

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