#6C45DA#6C45DA

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

Color values

HEX#6C45DA
RGBrgb(108, 69, 218)
HSLhsl(256, 67%, 56%)
HSVhsv(256, 68%, 85%)
CMYKcmyk(50.5%, 68.3%, 0%, 14.5%)
CIE-LABlab(42.01, 52.06, -70.63)
CIE-LCHlch(42.01, 87.74, 306.40°)
OKLaboklab(52.28% 0.0689 -0.2027)
OKLCHoklch(52.28% 0.214 288.8)
XYZxyz(20.9637, 12.5054, 67.6253)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C45DA #B3DA45
analogous
#4569DA #6C45DA #B745DA
triadic
#6C45DA #DA6C45 #45DA6C
tetradic
#6C45DA #DA4569 #B3DA45 #45DAB7
square
#6C45DA #DA4569 #B3DA45 #45DAB7
split-complementary
#6C45DA #DAB745 #69DA45
monochromatic
#381B89 #4D25BC #6C45DA #9478E4 #BDABEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C45DA#FFFFFF#000000##FFFFFF
##6C45DA1.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)
#0066DE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#446B8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6c45da;
/* rgb */ color: rgb(108, 69, 218);
/* oklch */ color: oklch(52.3% 0.214 288.8);
Tailwind
colors: {
  custom: {
    50: '#a07ce7',
    500: '#6c45da',
    950: '#000000',
  },
}
SCSS
$custom: #6c45da;
$custom-light: #a07ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c45da",
  "rgb": {
    "r": 108,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 255.705,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52278,
    "c": 0.21409,
    "h": 288.8
  },
  "luminance": 0.12506
}

Semantic roles & 50–950 ramp

primary
#6C45DA
secondary
#CCDC9F
accent
#EA3EBD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C45DA

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

Preview Lab → · Contrast checker → · Palette generator →

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