#6D45CA#6D45CA

#6D45CA is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.195 H 291.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6D45CA
RGBrgb(109, 69, 202)
HSLhsl(258, 56%, 53%)
HSVhsv(258, 66%, 79%)
CMYKcmyk(46%, 65.8%, 0%, 20.8%)
CIE-LABlab(40.85, 47.78, -63.30)
CIE-LCHlch(40.85, 79.31, 307.05°)
OKLaboklab(51.08% 0.0726 -0.1811)
OKLCHoklch(51.08% 0.195 291.8)
XYZxyz(19.0925, 11.7711, 57.1317)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45CA #A2CA45
analogous
#455FCA #6D45CA #AF45CA
triadic
#6D45CA #CA6D45 #45CA6D
tetradic
#6D45CA #CA455F #A2CA45 #45CAAF
square
#6D45CA #CA455F #A2CA45 #45CAAF
split-complementary
#6D45CA #CAAF45 #5FCA45
monochromatic
#3A2174 #522FA3 #6D45CA #9275D8 #B8A4E5

Accessibility & contrast

On white

6.26
#6D45CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6D45CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45CA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45CA#FFFFFF#000000##FFFFFF
##6D45CA1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#516581
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d45ca;
/* rgb */ color: rgb(109, 69, 202);
/* oklch */ color: oklch(51.1% 0.195 291.8);
Tailwind
colors: {
  custom: {
    50: '#9e7bdb',
    500: '#6d45ca',
    950: '#000000',
  },
}
SCSS
$custom: #6d45ca;
$custom-light: #9e7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45ca",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 258.045,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51079,
    "c": 0.19515,
    "h": 291.8
  },
  "luminance": 0.11772
}

Semantic roles & 50–950 ramp

primary
#6D45CA
secondary
#C1D299
accent
#DF49B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6D45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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