#6E45AF#6E45AF

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

Color values

HEX#6E45AF
RGBrgb(110, 69, 175)
HSLhsl(263, 43%, 48%)
HSVhsv(263, 61%, 69%)
CMYKcmyk(37.1%, 60.6%, 0%, 31.4%)
CIE-LABlab(39.01, 40.64, -50.45)
CIE-LCHlch(39.01, 64.78, 308.85°)
OKLaboklab(49.16% 0.0762 -0.1433)
OKLCHoklch(49.16% 0.162 298)
XYZxyz(16.2945, 10.6662, 41.7494)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45AF #86AF45
analogous
#4551AF #6E45AF #A345AF
triadic
#6E45AF #AF6E45 #45AF6E
tetradic
#6E45AF #AF4551 #86AF45 #45AFA3
square
#6E45AF #AF4551 #86AF45 #45AFA3
split-complementary
#6E45AF #AFA345 #51AF45
monochromatic
#372257 #523483 #6E45AF #8F6CC5 #B098D6

Accessibility & contrast

On white

6.70
#6E45AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6E45AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45AF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45AF#FFFFFF#000000##FFFFFF
##6E45AF1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#1B5BAD
Tritanopia (blue-blind)
#5F5C73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6e45af;
/* rgb */ color: rgb(110, 69, 175);
/* oklch */ color: oklch(49.2% 0.162 298.0);
Tailwind
colors: {
  custom: {
    50: '#9c7ac7',
    500: '#6e45af',
    950: '#000000',
  },
}
SCSS
$custom: #6e45af;
$custom-light: #9c7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45af",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 263.208,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49157,
    "c": 0.16233,
    "h": 298
  },
  "luminance": 0.10666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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