#6F46AD#6F46AD

#6F46AD is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.3% C 0.159 H 298.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#6F46AD
RGBrgb(111, 70, 173)
HSLhsl(264, 42%, 48%)
HSVhsv(264, 60%, 68%)
CMYKcmyk(35.8%, 59.5%, 0%, 32.2%)
CIE-LABlab(39.20, 39.78, -48.95)
CIE-LCHlch(39.20, 63.08, 309.10°)
OKLaboklab(49.28% 0.0764 -0.1389)
OKLCHoklch(49.28% 0.159 298.8)
XYZxyz(16.2867, 10.7768, 40.7491)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F46AD #84AD46
analogous
#4651AD #6F46AD #A246AD
triadic
#6F46AD #AD6F46 #46AD6F
tetradic
#6F46AD #AD4651 #84AD46 #46ADA2
square
#6F46AD #AD4651 #84AD46 #46ADA2
split-complementary
#6F46AD #ADA246 #51AD46
monochromatic
#372356 #533481 #6F46AD #8F6CC4 #B098D5

Accessibility & contrast

On white

6.66
#6F46AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6F46AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F46AD
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F46AD#FFFFFF#000000##FFFFFF
##6F46AD1.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5CB0
Deuteranopia (green-blind)
#225BAB
Tritanopia (blue-blind)
#615C73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6f46ad;
/* rgb */ color: rgb(111, 70, 173);
/* oklch */ color: oklch(49.3% 0.159 298.8);
Tailwind
colors: {
  custom: {
    50: '#9c7bc6',
    500: '#6f46ad',
    950: '#000000',
  },
}
SCSS
$custom: #6f46ad;
$custom-light: #9c7bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f46ad",
  "rgb": {
    "r": 111,
    "g": 70,
    "b": 173
  },
  "hsl": {
    "h": 263.883,
    "s": 42.387,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49278,
    "c": 0.15852,
    "h": 298.8
  },
  "luminance": 0.10777
}

Semantic roles & 50–950 ramp

primary
#6F46AD
secondary
#ADC18D
accent
#D256A1
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6F46AD

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

Preview Lab → · Contrast checker → · Palette generator →

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