#6A45CD#6A45CD

#6A45CD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.199 H 290.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6A45CD
RGBrgb(106, 69, 205)
HSLhsl(256, 58%, 54%)
HSVhsv(256, 66%, 80%)
CMYKcmyk(48.3%, 66.3%, 0%, 19.6%)
CIE-LABlab(40.78, 48.07, -65.16)
CIE-LCHlch(40.78, 80.97, 306.41°)
OKLaboklab(51.03% 0.0681 -0.1867)
OKLCHoklch(51.03% 0.199 290)
XYZxyz(19.0883, 11.7274, 59.0036)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A45CD #A8CD45
analogous
#4564CD #6A45CD #AE45CD
triadic
#6A45CD #CD6A45 #45CD6A
tetradic
#6A45CD #CD4564 #A8CD45 #45CDAE
square
#6A45CD #CD4564 #A8CD45 #45CDAE
split-complementary
#6A45CD #CDAE45 #64CD45
monochromatic
#382077 #4E2DA8 #6A45CD #9175DA #B7A5E7

Accessibility & contrast

On white

6.28
#6A45CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6A45CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A45CD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A45CD#FFFFFF#000000##FFFFFF
##6A45CD1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#496683
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6a45cd;
/* rgb */ color: rgb(106, 69, 205);
/* oklch */ color: oklch(51.0% 0.199 290.0);
Tailwind
colors: {
  custom: {
    50: '#9d7bdd',
    500: '#6a45cd',
    950: '#000000',
  },
}
SCSS
$custom: #6a45cd;
$custom-light: #9d7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a45cd",
  "rgb": {
    "r": 106,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 256.324,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.19874,
    "h": 290
  },
  "luminance": 0.11728
}

Semantic roles & 50–950 ramp

primary
#6A45CD
secondary
#C4D49A
accent
#E147B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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