#6F46BE#6F46BE

#6F46BE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.179 H 294.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6F46BE
RGBrgb(111, 70, 190)
HSLhsl(261, 48%, 51%)
HSVhsv(261, 63%, 75%)
CMYKcmyk(41.6%, 63.2%, 0%, 25.5%)
CIE-LABlab(40.37, 44.35, -57.08)
CIE-LCHlch(40.37, 72.28, 307.85°)
OKLaboklab(50.5% 0.0755 -0.1628)
OKLCHoklch(50.5% 0.179 294.9)
XYZxyz(18.0375, 11.4771, 49.9702)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F46BE #95BE46
analogous
#4659BE #6F46BE #AB46BE
triadic
#6F46BE #BE6F46 #46BE6F
tetradic
#6F46BE #BE4659 #95BE46 #46BEAB
square
#6F46BE #BE4659 #95BE46 #46BEAB
split-complementary
#6F46BE #BEAB46 #59BE46
monochromatic
#3A2466 #543493 #6F46BE #9273CE #B6A1DE

Accessibility & contrast

On white

6.37
#6F46BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6F46BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F46BE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F46BE#FFFFFF#000000##FFFFFF
##6F46BE1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#5A617B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f46be;
/* rgb */ color: rgb(111, 70, 190);
/* oklch */ color: oklch(50.5% 0.179 294.9);
Tailwind
colors: {
  custom: {
    50: '#9e7cd2',
    500: '#6f46be',
    950: '#000000',
  },
}
SCSS
$custom: #6f46be;
$custom-light: #9e7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f46be",
  "rgb": {
    "r": 111,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 260.5,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50503,
    "c": 0.17945,
    "h": 294.9
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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