#6F46E9#6F46E9

#6F46E9 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.230 H 287.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6F46E9
RGBrgb(111, 70, 233)
HSLhsl(255, 79%, 59%)
HSVhsv(255, 70%, 91%)
CMYKcmyk(52.4%, 70%, 0%, 8.6%)
CIE-LABlab(43.71, 56.20, -76.36)
CIE-LCHlch(43.71, 94.81, 306.35°)
OKLaboklab(53.95% 0.0695 -0.2194)
OKLCHoklch(53.95% 0.23 287.6)
XYZxyz(23.4493, 13.6418, 78.4725)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F46E9 #C0E946
analogous
#466FE9 #6F46E9 #C146E9
triadic
#6F46E9 #E96F46 #46E96F
tetradic
#6F46E9 #E9466F #C0E946 #46E9C1
square
#6F46E9 #E9466F #C0E946 #46E9C1
split-complementary
#6F46E9 #E9C146 #6FE946
monochromatic
#3713A1 #4A1AD8 #6F46E9 #9A7DF0 #C4B3F6

Accessibility & contrast

On white

5.63
#6F46E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6F46E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F46E9
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F46E9#FFFFFF#000000##FFFFFF
##6F46E91.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEE
Deuteranopia (green-blind)
#0063E6
Tritanopia (blue-blind)
#3F7193
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6f46e9;
/* rgb */ color: rgb(111, 70, 233);
/* oklch */ color: oklch(53.9% 0.230 287.6);
Tailwind
colors: {
  custom: {
    50: '#a37df1',
    500: '#6f46e9',
    950: '#000000',
  },
}
SCSS
$custom: #6f46e9;
$custom-light: #a37df1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f46e9",
  "rgb": {
    "r": 111,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 255.092,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53945,
    "c": 0.23018,
    "h": 287.6
  },
  "luminance": 0.13643
}

Semantic roles & 50–950 ramp

primary
#6F46E9
secondary
#D5E5A6
accent
#F533C4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6F46E9

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

Preview Lab → · Contrast checker → · Palette generator →

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