#6F46D7#6F46D7

#6F46D7 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.4% C 0.209 H 290.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6F46D7
RGBrgb(111, 70, 215)
HSLhsl(257, 64%, 56%)
HSVhsv(257, 67%, 84%)
CMYKcmyk(48.4%, 67.4%, 0%, 15.7%)
CIE-LABlab(42.25, 51.21, -68.49)
CIE-LCHlch(42.25, 85.52, 306.79°)
OKLaboklab(52.45% 0.0725 -0.1964)
OKLCHoklch(52.45% 0.209 290.3)
XYZxyz(21.0079, 12.6653, 65.6145)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F46D7 #AED746
analogous
#4665D7 #6F46D7 #B846D7
triadic
#6F46D7 #D76F46 #46D76F
tetradic
#6F46D7 #D74665 #AED746 #46D7B8
square
#6F46D7 #D74665 #AED746 #46D7B8
split-complementary
#6F46D7 #D7B846 #65D746
monochromatic
#3B1D86 #5128B8 #6F46D7 #9678E2 #BDABED

Accessibility & contrast

On white

5.94
#6F46D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6F46D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F46D7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F46D7#FFFFFF#000000##FFFFFF
##6F46D71.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#4D6A89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6f46d7;
/* rgb */ color: rgb(111, 70, 215);
/* oklch */ color: oklch(52.4% 0.209 290.3);
Tailwind
colors: {
  custom: {
    50: '#a17ce4',
    500: '#6f46d7',
    950: '#000000',
  },
}
SCSS
$custom: #6f46d7;
$custom-light: #a17ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f46d7",
  "rgb": {
    "r": 111,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 256.966,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5245,
    "c": 0.20933,
    "h": 290.3
  },
  "luminance": 0.12666
}

Semantic roles & 50–950 ramp

primary
#6F46D7
secondary
#C9DA9E
accent
#E740B8
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6F46D7

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

Preview Lab → · Contrast checker → · Palette generator →

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