#6A45DC#6A45DC

#6A45DC is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.217 H 287.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6A45DC
RGBrgb(106, 69, 220)
HSLhsl(255, 68%, 57%)
HSVhsv(255, 69%, 86%)
CMYKcmyk(51.8%, 68.6%, 0%, 13.7%)
CIE-LABlab(41.98, 52.29, -71.82)
CIE-LCHlch(41.98, 88.84, 306.06°)
OKLaboklab(52.26% 0.0658 -0.2063)
OKLCHoklch(52.26% 0.217 287.7)
XYZxyz(20.9864, 12.4867, 69.0006)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A45DC #B7DC45
analogous
#456CDC #6A45DC #B645DC
triadic
#6A45DC #DC6A45 #45DC6A
tetradic
#6A45DC #DC456C #B7DC45 #45DCB6
square
#6A45DC #DC456C #B7DC45 #45DCB6
split-complementary
#6A45DC #DCB645 #6CDC45
monochromatic
#361A8C #4A24C0 #6A45DC #9379E6 #BDACEF

Accessibility & contrast

On white

6.00
#6A45DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6A45DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A45DC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A45DC#FFFFFF#000000##FFFFFF
##6A45DC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#3E6C8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a45dc;
/* rgb */ color: rgb(106, 69, 220);
/* oklch */ color: oklch(52.3% 0.217 287.7);
Tailwind
colors: {
  custom: {
    50: '#9f7be8',
    500: '#6a45dc',
    950: '#000000',
  },
}
SCSS
$custom: #6a45dc;
$custom-light: #9f7be8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a45dc",
  "rgb": {
    "r": 106,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 254.702,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52262,
    "c": 0.21653,
    "h": 287.7
  },
  "luminance": 0.12488
}

Semantic roles & 50–950 ramp

primary
#6A45DC
secondary
#CEDDA0
accent
#EB3DC0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A45DC

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

Preview Lab → · Contrast checker → · Palette generator →

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