#6F46BA#6F46BA

#6F46BA is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.2% C 0.175 H 295.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6F46BA
RGBrgb(111, 70, 186)
HSLhsl(261, 46%, 50%)
HSVhsv(261, 62%, 73%)
CMYKcmyk(40.3%, 62.4%, 0%, 27.1%)
CIE-LABlab(40.09, 43.26, -55.19)
CIE-LCHlch(40.09, 70.13, 308.09°)
OKLaboklab(50.21% 0.0758 -0.1572)
OKLCHoklch(50.21% 0.175 295.7)
XYZxyz(17.6063, 11.3046, 47.6992)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F46BA #91BA46
analogous
#4657BA #6F46BA #A946BA
triadic
#6F46BA #BA6F46 #46BA6F
tetradic
#6F46BA #BA4657 #91BA46 #46BAA9
square
#6F46BA #BA4657 #91BA46 #46BAA9
split-complementary
#6F46BA #BAA946 #57BA46
monochromatic
#3A2461 #54358E #6F46BA #9273CB #B49FDB

Accessibility & contrast

On white

6.44
#6F46BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6F46BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F46BA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F46BA#FFFFFF#000000##FFFFFF
##6F46BA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#5C6079
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6f46ba;
/* rgb */ color: rgb(111, 70, 186);
/* oklch */ color: oklch(50.2% 0.175 295.7);
Tailwind
colors: {
  custom: {
    50: '#9e7bcf',
    500: '#6f46ba',
    950: '#000000',
  },
}
SCSS
$custom: #6f46ba;
$custom-light: #9e7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f46ba",
  "rgb": {
    "r": 111,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 261.207,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50207,
    "c": 0.17457,
    "h": 295.7
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#6F46BA
secondary
#B5C894
accent
#D552A7
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6F46BA

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

Preview Lab → · Contrast checker → · Palette generator →

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