#6D45CD#6D45CD

#6D45CD is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.3% C 0.199 H 291.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6D45CD
RGBrgb(109, 69, 205)
HSLhsl(258, 58%, 54%)
HSVhsv(258, 66%, 80%)
CMYKcmyk(46.8%, 66.3%, 0%, 19.6%)
CIE-LABlab(41.08, 48.62, -64.66)
CIE-LCHlch(41.08, 80.90, 306.94°)
OKLaboklab(51.32% 0.0722 -0.1851)
OKLCHoklch(51.32% 0.199 291.3)
XYZxyz(19.4511, 11.9145, 59.0206)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45CD #A5CD45
analogous
#4561CD #6D45CD #B145CD
triadic
#6D45CD #CD6D45 #45CD6D
tetradic
#6D45CD #CD4561 #A5CD45 #45CDB1
square
#6D45CD #CD4561 #A5CD45 #45CDB1
split-complementary
#6D45CD #CDB145 #61CD45
monochromatic
#3A2077 #512DA8 #6D45CD #9375DA #B9A5E7

Accessibility & contrast

On white

6.21
#6D45CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6D45CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45CD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45CD#FFFFFF#000000##FFFFFF
##6D45CD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#4F6683
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6d45cd;
/* rgb */ color: rgb(109, 69, 205);
/* oklch */ color: oklch(51.3% 0.199 291.3);
Tailwind
colors: {
  custom: {
    50: '#9e7bdd',
    500: '#6d45cd',
    950: '#000000',
  },
}
SCSS
$custom: #6d45cd;
$custom-light: #9e7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45cd",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 257.647,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51316,
    "c": 0.19872,
    "h": 291.3
  },
  "luminance": 0.11915
}

Semantic roles & 50–950 ramp

primary
#6D45CD
secondary
#C3D49A
accent
#E147B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6D45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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