#6F45CF#6F45CF

#6F45CF is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.7% C 0.201 H 291.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6F45CF
RGBrgb(111, 69, 207)
HSLhsl(258, 59%, 54%)
HSVhsv(258, 67%, 81%)
CMYKcmyk(46.4%, 66.7%, 0%, 18.8%)
CIE-LABlab(41.44, 49.54, -65.22)
CIE-LCHlch(41.44, 81.90, 307.22°)
OKLaboklab(51.67% 0.0747 -0.1867)
OKLCHoklch(51.67% 0.201 291.8)
XYZxyz(19.9430, 12.1401, 60.3119)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F45CF #A5CF45
analogous
#4560CF #6F45CF #B445CF
triadic
#6F45CF #CF6F45 #45CF6F
tetradic
#6F45CF #CF4560 #A5CF45 #45CFB4
square
#6F45CF #CF4560 #A5CF45 #45CFB4
split-complementary
#6F45CF #CFB445 #60CF45
monochromatic
#3B207A #532CAB #6F45CF #9576DC #BAA6E8

Accessibility & contrast

On white

6.13
#6F45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6F45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F45CF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F45CF#FFFFFF#000000##FFFFFF
##6F45CF1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#526784
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6f45cf;
/* rgb */ color: rgb(111, 69, 207);
/* oklch */ color: oklch(51.7% 0.201 291.8);
Tailwind
colors: {
  custom: {
    50: '#a07bdf',
    500: '#6f45cf',
    950: '#000000',
  },
}
SCSS
$custom: #6f45cf;
$custom-light: #a07bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f45cf",
  "rgb": {
    "r": 111,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 258.261,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51669,
    "c": 0.20112,
    "h": 291.8
  },
  "luminance": 0.12141
}

Semantic roles & 50–950 ramp

primary
#6F45CF
secondary
#C3D59B
accent
#E246B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #6F45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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