#6F45CC#6F45CC

#6F45CC is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.198 H 292.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6F45CC
RGBrgb(111, 69, 204)
HSLhsl(259, 57%, 54%)
HSVhsv(259, 66%, 80%)
CMYKcmyk(45.6%, 66.2%, 0%, 20%)
CIE-LABlab(41.21, 48.71, -63.86)
CIE-LCHlch(41.21, 80.32, 307.34°)
OKLaboklab(51.43% 0.0751 -0.1827)
OKLCHoklch(51.43% 0.198 292.3)
XYZxyz(19.5797, 11.9947, 58.3986)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45CC #A2CC45
analogous
#455ECC #6F45CC #B345CC
triadic
#6F45CC #CC6F45 #45CC6F
tetradic
#6F45CC #CC455E #A2CC45 #45CCB3
square
#6F45CC #CC455E #A2CC45 #45CCB3
split-complementary
#6F45CC #CCB345 #5ECC45
monochromatic
#3B2076 #532EA6 #6F45CC #9475D9 #B9A5E6

Accessibility & contrast

On white

6.18
#6F45CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6F45CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45CC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45CC#FFFFFF#000000##FFFFFF
##6F45CC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f45cc;
/* rgb */ color: rgb(111, 69, 204);
/* oklch */ color: oklch(51.4% 0.198 292.3);
Tailwind
colors: {
  custom: {
    50: '#a07bdc',
    500: '#6f45cc',
    950: '#000000',
  },
}
SCSS
$custom: #6f45cc;
$custom-light: #a07bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45cc",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 258.667,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51432,
    "c": 0.19757,
    "h": 292.3
  },
  "luminance": 0.11995
}

Semantic roles & 50–950 ramp

primary
#6F45CC
secondary
#C1D399
accent
#E048B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6F45CC

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

Preview Lab → · Contrast checker → · Palette generator →

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