#6C45DF#6C45DF

#6C45DF is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.220 H 288.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6C45DF
RGBrgb(108, 69, 223)
HSLhsl(255, 71%, 57%)
HSVhsv(255, 69%, 87%)
CMYKcmyk(51.6%, 69.1%, 0%, 12.5%)
CIE-LABlab(42.42, 53.46, -72.81)
CIE-LCHlch(42.42, 90.33, 306.29°)
OKLaboklab(52.7% 0.068 -0.2091)
OKLCHoklch(52.7% 0.22 288)
XYZxyz(21.6278, 12.7711, 71.1232)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C45DF #B8DF45
analogous
#456BDF #6C45DF #B945DF
triadic
#6C45DF #DF6C45 #45DF6C
tetradic
#6C45DF #DF456B #B8DF45 #45DFB9
square
#6C45DF #DF456B #B8DF45 #45DFB9
split-complementary
#6C45DF #DFB945 #6BDF45
monochromatic
#371991 #4B22C5 #6C45DF #9579E8 #BFADF1

Accessibility & contrast

On white

5.91
#6C45DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6C45DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C45DF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C45DF#FFFFFF#000000##FFFFFF
##6C45DF1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0060DC
Tritanopia (blue-blind)
#406D8D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6c45df;
/* rgb */ color: rgb(108, 69, 223);
/* oklch */ color: oklch(52.7% 0.220 288.0);
Tailwind
colors: {
  custom: {
    50: '#a07cea',
    500: '#6c45df',
    950: '#000000',
  },
}
SCSS
$custom: #6c45df;
$custom-light: #a07cea;
$custom-dark: #000000;
JSON
{
  "hex": "#6c45df",
  "rgb": {
    "r": 108,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 255.195,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52696,
    "c": 0.21991,
    "h": 288
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#6C45DF
secondary
#CFDFA1
accent
#ED3AC0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C45DF

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

Preview Lab → · Contrast checker → · Palette generator →

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