#6D45CE#6D45CE

#6D45CE is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.200 H 291.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6D45CE
RGBrgb(109, 69, 206)
HSLhsl(258, 58%, 54%)
HSVhsv(258, 67%, 81%)
CMYKcmyk(47.1%, 66.5%, 0%, 19.2%)
CIE-LABlab(41.16, 48.89, -65.11)
CIE-LCHlch(41.16, 81.42, 306.90°)
OKLaboklab(51.4% 0.0721 -0.1865)
OKLCHoklch(51.4% 0.2 291.1)
XYZxyz(19.5722, 11.9630, 59.6584)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45CE #A6CE45
analogous
#4562CE #6D45CE #B245CE
triadic
#6D45CE #CE6D45 #45CE6D
tetradic
#6D45CE #CE4562 #A6CE45 #45CEB2
square
#6D45CE #CE4562 #A6CE45 #45CEB2
split-complementary
#6D45CE #CEB245 #62CE45
monochromatic
#3A2079 #512DA9 #6D45CE #9375DB #B9A6E8

Accessibility & contrast

On white

6.19
#6D45CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D45CE
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45CE#FFFFFF#000000##FFFFFF
##6D45CE1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#4E6784
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6d45ce;
/* rgb */ color: rgb(109, 69, 206);
/* oklch */ color: oklch(51.4% 0.200 291.1);
Tailwind
colors: {
  custom: {
    50: '#9f7bde',
    500: '#6d45ce',
    950: '#000000',
  },
}
SCSS
$custom: #6d45ce;
$custom-light: #9f7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45ce",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 257.518,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.19991,
    "h": 291.1
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#6D45CE
secondary
#C4D59A
accent
#E246B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6D45CE

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

Preview Lab → · Contrast checker → · Palette generator →

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