#6F46AF#6F46AF

#6F46AF is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.4% C 0.161 H 298.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#6F46AF
RGBrgb(111, 70, 175)
HSLhsl(263, 43%, 48%)
HSVhsv(263, 60%, 69%)
CMYKcmyk(36.6%, 60%, 0%, 31.4%)
CIE-LABlab(39.33, 40.31, -49.92)
CIE-LCHlch(39.33, 64.16, 308.92°)
OKLaboklab(49.42% 0.0763 -0.1418)
OKLCHoklch(49.42% 0.161 298.3)
XYZxyz(16.4816, 10.8548, 41.7760)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F46AF #86AF46
analogous
#4651AF #6F46AF #A346AF
triadic
#6F46AF #AF6F46 #46AF6F
tetradic
#6F46AF #AF4651 #86AF46 #46AFA3
square
#6F46AF #AF4651 #86AF46 #46AFA3
split-complementary
#6F46AF #AFA346 #51AF46
monochromatic
#382358 #533583 #6F46AF #906DC5 #B199D6

Accessibility & contrast

On white

6.62
#6F46AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6F46AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F46AF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F46AF#FFFFFF#000000##FFFFFF
##6F46AF1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035DB2
Deuteranopia (green-blind)
#1F5CAD
Tritanopia (blue-blind)
#605C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6f46af;
/* rgb */ color: rgb(111, 70, 175);
/* oklch */ color: oklch(49.4% 0.161 298.3);
Tailwind
colors: {
  custom: {
    50: '#9c7bc7',
    500: '#6f46af',
    950: '#000000',
  },
}
SCSS
$custom: #6f46af;
$custom-light: #9c7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f46af",
  "rgb": {
    "r": 111,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 263.429,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49418,
    "c": 0.16101,
    "h": 298.3
  },
  "luminance": 0.10855
}

Semantic roles & 50–950 ramp

primary
#6F46AF
secondary
#AEC28E
accent
#D355A2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6F46AF

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

Preview Lab → · Contrast checker → · Palette generator →

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