#6D45BC#6D45BC

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

Color values

HEX#6D45BC
RGBrgb(109, 69, 188)
HSLhsl(260, 47%, 50%)
HSVhsv(260, 63%, 74%)
CMYKcmyk(42%, 63.3%, 0%, 26.3%)
CIE-LABlab(39.81, 43.93, -56.82)
CIE-LCHlch(39.81, 71.83, 307.71°)
OKLaboklab(50% 0.074 -0.1621)
OKLCHoklch(50% 0.178 294.5)
XYZxyz(17.5095, 11.1379, 48.7945)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45BC #94BC45
analogous
#4558BC #6D45BC #A845BC
triadic
#6D45BC #BC6D45 #45BC6D
tetradic
#6D45BC #BC4558 #94BC45 #45BCA8
square
#6D45BC #BC4558 #94BC45 #45BCA8
split-complementary
#6D45BC #BCA845 #58BC45
monochromatic
#392463 #533490 #6D45BC #9072CC #B49FDC

Accessibility & contrast

On white

6.51
#6D45BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6D45BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45BC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45BC#FFFFFF#000000##FFFFFF
##6D45BC1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d45bc;
/* rgb */ color: rgb(109, 69, 188);
/* oklch */ color: oklch(50.0% 0.178 294.5);
Tailwind
colors: {
  custom: {
    50: '#9d7bd1',
    500: '#6d45bc',
    950: '#000000',
  },
}
SCSS
$custom: #6d45bc;
$custom-light: #9d7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45bc",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 260.168,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50002,
    "c": 0.17823,
    "h": 294.5
  },
  "luminance": 0.11138
}

Semantic roles & 50–950 ramp

primary
#6D45BC
secondary
#B7C994
accent
#D751AA
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6D45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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