#6A45D3#6A45D3

#6A45D3 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.5% C 0.206 H 289.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6A45D3
RGBrgb(106, 69, 211)
HSLhsl(256, 62%, 55%)
HSVhsv(256, 67%, 83%)
CMYKcmyk(49.8%, 67.3%, 0%, 17.3%)
CIE-LABlab(41.25, 49.76, -67.85)
CIE-LCHlch(41.25, 84.14, 306.25°)
OKLaboklab(51.52% 0.0672 -0.1946)
OKLCHoklch(51.52% 0.206 289)
XYZxyz(19.8265, 12.0227, 62.8913)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A45D3 #AED345
analogous
#4567D3 #6A45D3 #B145D3
triadic
#6A45D3 #D36A45 #45D36A
tetradic
#6A45D3 #D34567 #AED345 #45D3B1
square
#6A45D3 #D34567 #AED345 #45D3B1
split-complementary
#6A45D3 #D3B145 #67D345
monochromatic
#381E7F #4D2AB1 #6A45D3 #9276DF #B9A8EA

Accessibility & contrast

On white

6.17
#6A45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6A45D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A45D3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A45D3#FFFFFF#000000##FFFFFF
##6A45D31.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#456986
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a45d3;
/* rgb */ color: rgb(106, 69, 211);
/* oklch */ color: oklch(51.5% 0.206 289.0);
Tailwind
colors: {
  custom: {
    50: '#9d7be2',
    500: '#6a45d3',
    950: '#000000',
  },
}
SCSS
$custom: #6a45d3;
$custom-light: #9d7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a45d3",
  "rgb": {
    "r": 106,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 255.634,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51516,
    "c": 0.2059,
    "h": 289
  },
  "luminance": 0.12024
}

Semantic roles & 50–950 ramp

primary
#6A45D3
secondary
#C8D89C
accent
#E543BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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