#6F46BD#6F46BD

#6F46BD is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.4% C 0.178 H 295.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6F46BD
RGBrgb(111, 70, 189)
HSLhsl(261, 47%, 51%)
HSVhsv(261, 63%, 74%)
CMYKcmyk(41.3%, 63%, 0%, 25.9%)
CIE-LABlab(40.30, 44.07, -56.61)
CIE-LCHlch(40.30, 71.74, 307.90°)
OKLaboklab(50.43% 0.0756 -0.1614)
OKLCHoklch(50.43% 0.178 295.1)
XYZxyz(17.9286, 11.4335, 49.3965)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F46BD #94BD46
analogous
#4658BD #6F46BD #AA46BD
triadic
#6F46BD #BD6F46 #46BD6F
tetradic
#6F46BD #BD4658 #94BD46 #46BDAA
square
#6F46BD #BD4658 #94BD46 #46BDAA
split-complementary
#6F46BD #BDAA46 #58BD46
monochromatic
#3A2465 #543492 #6F46BD #9273CD #B5A0DD

Accessibility & contrast

On white

6.39
#6F46BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6F46BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F46BD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F46BD#FFFFFF#000000##FFFFFF
##6F46BD1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#5B617B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f46bd;
/* rgb */ color: rgb(111, 70, 189);
/* oklch */ color: oklch(50.4% 0.178 295.1);
Tailwind
colors: {
  custom: {
    50: '#9e7cd2',
    500: '#6f46bd',
    950: '#000000',
  },
}
SCSS
$custom: #6f46bd;
$custom-light: #9e7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f46bd",
  "rgb": {
    "r": 111,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 260.672,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50429,
    "c": 0.17823,
    "h": 295.1
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

primary
#6F46BD
secondary
#B8CA95
accent
#D751A9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6F46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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