#6C45BC#6C45BC

#6C45BC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.178 H 294.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#6C45BC
RGBrgb(108, 69, 188)
HSLhsl(260, 47%, 50%)
HSVhsv(260, 63%, 74%)
CMYKcmyk(42.6%, 63.3%, 0%, 26.3%)
CIE-LABlab(39.71, 43.72, -57.00)
CIE-LCHlch(39.71, 71.84, 307.49°)
OKLaboklab(49.9% 0.0727 -0.1627)
OKLCHoklch(49.9% 0.178 294.1)
XYZxyz(17.3871, 11.0748, 48.7888)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C45BC #95BC45
analogous
#4559BC #6C45BC #A845BC
triadic
#6C45BC #BC6C45 #45BC6C
tetradic
#6C45BC #BC4559 #95BC45 #45BCA8
square
#6C45BC #BC4559 #95BC45 #45BCA8
split-complementary
#6C45BC #BCA845 #59BC45
monochromatic
#382463 #523490 #6C45BC #9072CC #B39FDC

Accessibility & contrast

On white

6.53
#6C45BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6C45BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C45BC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C45BC#FFFFFF#000000##FFFFFF
##6C45BC1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#56607A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6c45bc;
/* rgb */ color: rgb(108, 69, 188);
/* oklch */ color: oklch(49.9% 0.178 294.1);
Tailwind
colors: {
  custom: {
    50: '#9c7bd1',
    500: '#6c45bc',
    950: '#000000',
  },
}
SCSS
$custom: #6c45bc;
$custom-light: #9c7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c45bc",
  "rgb": {
    "r": 108,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 259.664,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.499,
    "c": 0.17816,
    "h": 294.1
  },
  "luminance": 0.11075
}

Semantic roles & 50–950 ramp

primary
#6C45BC
secondary
#B8C994
accent
#D751AB
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6C45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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