#6A45D2#6A45D2

#6A45D2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.4% C 0.205 H 289.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6A45D2
RGBrgb(106, 69, 210)
HSLhsl(256, 61%, 55%)
HSVhsv(256, 67%, 82%)
CMYKcmyk(49.5%, 67.1%, 0%, 17.6%)
CIE-LABlab(41.17, 49.47, -67.40)
CIE-LCHlch(41.17, 83.61, 306.28°)
OKLaboklab(51.43% 0.0673 -0.1933)
OKLCHoklch(51.43% 0.205 289.2)
XYZxyz(19.7015, 11.9727, 62.2332)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A45D2 #ADD245
analogous
#4566D2 #6A45D2 #B145D2
triadic
#6A45D2 #D26A45 #45D26A
tetradic
#6A45D2 #D24566 #ADD245 #45D2B1
square
#6A45D2 #D24566 #ADD245 #45D2B1
split-complementary
#6A45D2 #D2B145 #66D245
monochromatic
#381F7E #4D2AAF #6A45D2 #9176DE #B9A8EA

Accessibility & contrast

On white

6.19
#6A45D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6A45D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A45D2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A45D2#FFFFFF#000000##FFFFFF
##6A45D21.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#466886
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a45d2;
/* rgb */ color: rgb(106, 69, 210);
/* oklch */ color: oklch(51.4% 0.205 289.2);
Tailwind
colors: {
  custom: {
    50: '#9d7be1',
    500: '#6a45d2',
    950: '#000000',
  },
}
SCSS
$custom: #6a45d2;
$custom-light: #9d7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a45d2",
  "rgb": {
    "r": 106,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 255.745,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51434,
    "c": 0.20472,
    "h": 289.2
  },
  "luminance": 0.11974
}

Semantic roles & 50–950 ramp

primary
#6A45D2
secondary
#C8D79C
accent
#E444BA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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