#6A45DA#6A45DA

#6A45DA is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.214 H 288.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6A45DA
RGBrgb(106, 69, 218)
HSLhsl(255, 67%, 56%)
HSVhsv(255, 68%, 85%)
CMYKcmyk(51.4%, 68.3%, 0%, 14.5%)
CIE-LABlab(41.82, 51.73, -70.95)
CIE-LCHlch(41.82, 87.80, 306.10°)
OKLaboklab(52.1% 0.0661 -0.2037)
OKLCHoklch(52.1% 0.214 288)
XYZxyz(20.7232, 12.3814, 67.6140)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A45DA #B5DA45
analogous
#456BDA #6A45DA #B445DA
triadic
#6A45DA #DA6A45 #45DA6A
tetradic
#6A45DA #DA456B #B5DA45 #45DAB4
square
#6A45DA #DA456B #B5DA45 #45DAB4
split-complementary
#6A45DA #DAB445 #6BDA45
monochromatic
#371B89 #4B25BC #6A45DA #9378E4 #BCABEE

Accessibility & contrast

On white

6.04
#6A45DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6A45DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A45DA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A45DA#FFFFFF#000000##FFFFFF
##6A45DA1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#406B8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a45da;
/* rgb */ color: rgb(106, 69, 218);
/* oklch */ color: oklch(52.1% 0.214 288.0);
Tailwind
colors: {
  custom: {
    50: '#9e7be7',
    500: '#6a45da',
    950: '#000000',
  },
}
SCSS
$custom: #6a45da;
$custom-light: #9e7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a45da",
  "rgb": {
    "r": 106,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 254.899,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.21418,
    "h": 288
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#6A45DA
secondary
#CDDC9F
accent
#EA3EBF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A45DA

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

Preview Lab → · Contrast checker → · Palette generator →

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