#6F46CD#6F46CD

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

Color values

HEX#6F46CD
RGBrgb(111, 70, 205)
HSLhsl(258, 57%, 54%)
HSVhsv(258, 66%, 80%)
CMYKcmyk(45.9%, 65.9%, 0%, 19.6%)
CIE-LABlab(41.48, 48.45, -64.00)
CIE-LCHlch(41.48, 80.27, 307.13°)
OKLaboklab(51.65% 0.0739 -0.1831)
OKLCHoklch(51.65% 0.198 292)
XYZxyz(19.7621, 12.1669, 59.0530)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F46CD #A4CD46
analogous
#4661CD #6F46CD #B346CD
triadic
#6F46CD #CD6F46 #46CD6F
tetradic
#6F46CD #CD4661 #A4CD46 #46CDB3
square
#6F46CD #CD4661 #A4CD46 #46CDB3
split-complementary
#6F46CD #CDB346 #61CD46
monochromatic
#3B2078 #532DA8 #6F46CD #9576DA #BAA6E7

Accessibility & contrast

On white

6.12
#6F46CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6F46CD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F46CD#FFFFFF#000000##FFFFFF
##6F46CD1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#536783
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6f46cd;
/* rgb */ color: rgb(111, 70, 205);
/* oklch */ color: oklch(51.7% 0.198 292.0);
Tailwind
colors: {
  custom: {
    50: '#a07cdd',
    500: '#6f46cd',
    950: '#000000',
  },
}
SCSS
$custom: #6f46cd;
$custom-light: #a07cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f46cd",
  "rgb": {
    "r": 111,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 258.222,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51652,
    "c": 0.19751,
    "h": 292
  },
  "luminance": 0.12168
}

Semantic roles & 50–950 ramp

primary
#6F46CD
secondary
#C3D49B
accent
#E147B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F46CD

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

Preview Lab → · Contrast checker → · Palette generator →

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