#6F46CE#6F46CE

#6F46CE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.199 H 291.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6F46CE
RGBrgb(111, 70, 206)
HSLhsl(258, 58%, 54%)
HSVhsv(258, 66%, 81%)
CMYKcmyk(46.1%, 66%, 0%, 19.2%)
CIE-LABlab(41.56, 48.73, -64.45)
CIE-LCHlch(41.56, 80.80, 307.09°)
OKLaboklab(51.73% 0.0738 -0.1845)
OKLCHoklch(51.73% 0.199 291.8)
XYZxyz(19.8832, 12.2154, 59.6907)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F46CE #A5CE46
analogous
#4661CE #6F46CE #B346CE
triadic
#6F46CE #CE6F46 #46CE6F
tetradic
#6F46CE #CE4661 #A5CE46 #46CEB3
square
#6F46CE #CE4661 #A5CE46 #46CEB3
split-complementary
#6F46CE #CEB346 #61CE46
monochromatic
#3B2079 #532DAA #6F46CE #9576DB #BAA7E8

Accessibility & contrast

On white

6.10
#6F46CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6F46CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F46CE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F46CE#FFFFFF#000000##FFFFFF
##6F46CE1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f46ce;
/* rgb */ color: rgb(111, 70, 206);
/* oklch */ color: oklch(51.7% 0.199 291.8);
Tailwind
colors: {
  custom: {
    50: '#a07cde',
    500: '#6f46ce',
    950: '#000000',
  },
}
SCSS
$custom: #6f46ce;
$custom-light: #a07cde;
$custom-dark: #000000;
JSON
{
  "hex": "#6f46ce",
  "rgb": {
    "r": 111,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 258.088,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51731,
    "c": 0.1987,
    "h": 291.8
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#6F46CE
secondary
#C3D59B
accent
#E146B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F46CE

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

Preview Lab → · Contrast checker → · Palette generator →

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