#6D45AF#6D45AF

#6D45AF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.1% C 0.162 H 297.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#6D45AF
RGBrgb(109, 69, 175)
HSLhsl(263, 43%, 48%)
HSVhsv(263, 61%, 69%)
CMYKcmyk(37.7%, 60.6%, 0%, 31.4%)
CIE-LABlab(38.90, 40.41, -50.63)
CIE-LCHlch(38.90, 64.78, 308.59°)
OKLaboklab(49.05% 0.0748 -0.1439)
OKLCHoklch(49.05% 0.162 297.5)
XYZxyz(16.1707, 10.6024, 41.7436)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45AF #87AF45
analogous
#4552AF #6D45AF #A245AF
triadic
#6D45AF #AF6D45 #45AF6D
tetradic
#6D45AF #AF4552 #87AF45 #45AFA2
square
#6D45AF #AF4552 #87AF45 #45AFA2
split-complementary
#6D45AF #AFA245 #52AF45
monochromatic
#362257 #523483 #6D45AF #8E6CC5 #B098D6

Accessibility & contrast

On white

6.73
#6D45AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6D45AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45AF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45AF#FFFFFF#000000##FFFFFF
##6D45AF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#195AAD
Tritanopia (blue-blind)
#5E5C73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6d45af;
/* rgb */ color: rgb(109, 69, 175);
/* oklch */ color: oklch(49.1% 0.162 297.5);
Tailwind
colors: {
  custom: {
    50: '#9b7ac7',
    500: '#6d45af',
    950: '#000000',
  },
}
SCSS
$custom: #6d45af;
$custom-light: #9b7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45af",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 262.642,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49052,
    "c": 0.1622,
    "h": 297.5
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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