#6C45CF#6C45CF

#6C45CF is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.4% C 0.201 H 290.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#6C45CF
RGBrgb(108, 69, 207)
HSLhsl(257, 59%, 54%)
HSVhsv(257, 67%, 81%)
CMYKcmyk(47.8%, 66.7%, 0%, 18.8%)
CIE-LABlab(41.13, 48.99, -65.73)
CIE-LCHlch(41.13, 81.98, 306.70°)
OKLaboklab(51.38% 0.0705 -0.1883)
OKLCHoklch(51.38% 0.201 290.5)
XYZxyz(19.5718, 11.9486, 60.2945)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C45CF #A8CF45
analogous
#4563CF #6C45CF #B145CF
triadic
#6C45CF #CF6C45 #45CF6C
tetradic
#6C45CF #CF4563 #A8CF45 #45CFB1
square
#6C45CF #CF4563 #A8CF45 #45CFB1
split-complementary
#6C45CF #CFB145 #63CF45
monochromatic
#39207A #502CAB #6C45CF #9276DC #B9A6E8

Accessibility & contrast

On white

6.20
#6C45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6C45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C45CF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C45CF#FFFFFF#000000##FFFFFF
##6C45CF1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#4C6784
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6c45cf;
/* rgb */ color: rgb(108, 69, 207);
/* oklch */ color: oklch(51.4% 0.201 290.5);
Tailwind
colors: {
  custom: {
    50: '#9e7bdf',
    500: '#6c45cf',
    950: '#000000',
  },
}
SCSS
$custom: #6c45cf;
$custom-light: #9e7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c45cf",
  "rgb": {
    "r": 108,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 256.957,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5138,
    "c": 0.2011,
    "h": 290.5
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

primary
#6C45CF
secondary
#C5D59B
accent
#E246B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6C45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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