#6F45CE#6F45CE

#6F45CE is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.200 H 292.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6F45CE
RGBrgb(111, 69, 206)
HSLhsl(258, 58%, 54%)
HSVhsv(258, 67%, 81%)
CMYKcmyk(46.1%, 66.5%, 0%, 19.2%)
CIE-LABlab(41.36, 49.26, -64.77)
CIE-LCHlch(41.36, 81.37, 307.25°)
OKLaboklab(51.59% 0.0748 -0.1854)
OKLCHoklch(51.59% 0.2 292)
XYZxyz(19.8211, 12.0913, 59.6701)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45CE #A4CE45
analogous
#4560CE #6F45CE #B445CE
triadic
#6F45CE #CE6F45 #45CE6F
tetradic
#6F45CE #CE4560 #A4CE45 #45CEB4
square
#6F45CE #CE4560 #A4CE45 #45CEB4
split-complementary
#6F45CE #CEB445 #60CE45
monochromatic
#3B2079 #532DA9 #6F45CE #9575DB #BAA6E8

Accessibility & contrast

On white

6.14
#6F45CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6F45CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45CE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45CE#FFFFFF#000000##FFFFFF
##6F45CE1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#526684
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6f45ce;
/* rgb */ color: rgb(111, 69, 206);
/* oklch */ color: oklch(51.6% 0.200 292.0);
Tailwind
colors: {
  custom: {
    50: '#a07bde',
    500: '#6f45ce',
    950: '#000000',
  },
}
SCSS
$custom: #6f45ce;
$custom-light: #a07bde;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45ce",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 258.394,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5159,
    "c": 0.19994,
    "h": 292
  },
  "luminance": 0.12092
}

Semantic roles & 50–950 ramp

primary
#6F45CE
secondary
#C3D59A
accent
#E246B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6F45CE

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

Preview Lab → · Contrast checker → · Palette generator →

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