#6F45CD#6F45CD

#6F45CD is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.199 H 292.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6F45CD
RGBrgb(111, 69, 205)
HSLhsl(259, 58%, 54%)
HSVhsv(259, 66%, 80%)
CMYKcmyk(45.9%, 66.3%, 0%, 19.6%)
CIE-LABlab(41.28, 48.99, -64.32)
CIE-LCHlch(41.28, 80.85, 307.29°)
OKLaboklab(51.51% 0.0749 -0.1841)
OKLCHoklch(51.51% 0.199 292.2)
XYZxyz(19.7001, 12.0429, 59.0323)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45CD #A3CD45
analogous
#455FCD #6F45CD #B345CD
triadic
#6F45CD #CD6F45 #45CD6F
tetradic
#6F45CD #CD455F #A3CD45 #45CDB3
square
#6F45CD #CD455F #A3CD45 #45CDB3
split-complementary
#6F45CD #CDB345 #5FCD45
monochromatic
#3B2077 #532DA8 #6F45CD #9475DA #BAA5E7

Accessibility & contrast

On white

6.16
#6F45CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6F45CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45CD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45CD#FFFFFF#000000##FFFFFF
##6F45CD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#536683
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6f45cd;
/* rgb */ color: rgb(111, 69, 205);
/* oklch */ color: oklch(51.5% 0.199 292.2);
Tailwind
colors: {
  custom: {
    50: '#a07bdd',
    500: '#6f45cd',
    950: '#000000',
  },
}
SCSS
$custom: #6f45cd;
$custom-light: #a07bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45cd",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 258.529,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.19875,
    "h": 292.2
  },
  "luminance": 0.12044
}

Semantic roles & 50–950 ramp

primary
#6F45CD
secondary
#C2D49A
accent
#E147B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6F45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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