#6F46CF#6F46CF

#6F46CF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.200 H 291.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6F46CF
RGBrgb(111, 70, 207)
HSLhsl(258, 59%, 54%)
HSVhsv(258, 66%, 81%)
CMYKcmyk(46.4%, 66.2%, 0%, 18.8%)
CIE-LABlab(41.63, 49.00, -64.90)
CIE-LCHlch(41.63, 81.33, 307.05°)
OKLaboklab(51.81% 0.0737 -0.1858)
OKLCHoklch(51.81% 0.2 291.6)
XYZxyz(20.0050, 12.2641, 60.3325)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F46CF #A6CF46
analogous
#4662CF #6F46CF #B346CF
triadic
#6F46CF #CF6F46 #46CF6F
tetradic
#6F46CF #CF4662 #A6CF46 #46CFB3
square
#6F46CF #CF4662 #A6CF46 #46CFB3
split-complementary
#6F46CF #CFB346 #62CF46
monochromatic
#3B207B #522CAB #6F46CF #9577DC #BBA7E8

Accessibility & contrast

On white

6.08
#6F46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6F46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F46CF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F46CF#FFFFFF#000000##FFFFFF
##6F46CF1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f46cf;
/* rgb */ color: rgb(111, 70, 207);
/* oklch */ color: oklch(51.8% 0.200 291.6);
Tailwind
colors: {
  custom: {
    50: '#a07cdf',
    500: '#6f46cf',
    950: '#000000',
  },
}
SCSS
$custom: #6f46cf;
$custom-light: #a07cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f46cf",
  "rgb": {
    "r": 111,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 257.956,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5181,
    "c": 0.19989,
    "h": 291.6
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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