#6F46CA#6F46CA

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

Color values

HEX#6F46CA
RGBrgb(111, 70, 202)
HSLhsl(259, 55%, 53%)
HSVhsv(259, 65%, 79%)
CMYKcmyk(45%, 65.3%, 0%, 20.8%)
CIE-LABlab(41.25, 47.63, -62.63)
CIE-LCHlch(41.25, 78.68, 307.25°)
OKLaboklab(51.42% 0.0743 -0.1791)
OKLCHoklch(51.42% 0.194 292.5)
XYZxyz(19.4034, 12.0235, 57.1641)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F46CA #A1CA46
analogous
#465FCA #6F46CA #B146CA
triadic
#6F46CA #CA6F46 #46CA6F
tetradic
#6F46CA #CA465F #A1CA46 #46CAB1
square
#6F46CA #CA465F #A1CA46 #46CAB1
split-complementary
#6F46CA #CAB146 #5FCA46
monochromatic
#3B2174 #532FA4 #6F46CA #9476D8 #B9A5E5

Accessibility & contrast

On white

6.17
#6F46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6F46CA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F46CA#FFFFFF#000000##FFFFFF
##6F46CA1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#546682
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6f46ca;
/* rgb */ color: rgb(111, 70, 202);
/* oklch */ color: oklch(51.4% 0.194 292.5);
Tailwind
colors: {
  custom: {
    50: '#9f7cdb',
    500: '#6f46ca',
    950: '#000000',
  },
}
SCSS
$custom: #6f46ca;
$custom-light: #9f7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f46ca",
  "rgb": {
    "r": 111,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 258.636,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51417,
    "c": 0.19393,
    "h": 292.5
  },
  "luminance": 0.12024
}

Semantic roles & 50–950 ramp

primary
#6F46CA
secondary
#C1D29A
accent
#DF49B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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