#6F46D8#6F46D8

#6F46D8 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.210 H 290.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6F46D8
RGBrgb(111, 70, 216)
HSLhsl(257, 65%, 56%)
HSVhsv(257, 68%, 85%)
CMYKcmyk(48.6%, 67.6%, 0%, 15.3%)
CIE-LABlab(42.33, 51.49, -68.94)
CIE-LCHlch(42.33, 86.04, 306.76°)
OKLaboklab(52.53% 0.0724 -0.1977)
OKLCHoklch(52.53% 0.211 290.1)
XYZxyz(21.1368, 12.7168, 66.2933)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F46D8 #AFD846
analogous
#4666D8 #6F46D8 #B846D8
triadic
#6F46D8 #D86F46 #46D86F
tetradic
#6F46D8 #D84666 #AFD846 #46D8B8
square
#6F46D8 #D84666 #AFD846 #46D8B8
split-complementary
#6F46D8 #D8B846 #66D846
monochromatic
#3A1C87 #5027BA #6F46D8 #9679E3 #BEABED

Accessibility & contrast

On white

5.93
#6F46D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6F46D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F46D8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F46D8#FFFFFF#000000##FFFFFF
##6F46D81.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#4C6B89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6f46d8;
/* rgb */ color: rgb(111, 70, 216);
/* oklch */ color: oklch(52.5% 0.210 290.1);
Tailwind
colors: {
  custom: {
    50: '#a17ce5',
    500: '#6f46d8',
    950: '#000000',
  },
}
SCSS
$custom: #6f46d8;
$custom-light: #a17ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f46d8",
  "rgb": {
    "r": 111,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 256.849,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52531,
    "c": 0.2105,
    "h": 290.1
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#6F46D8
secondary
#CADB9F
accent
#E840B9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6F46D8

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

Preview Lab → · Contrast checker → · Palette generator →

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