#6D46BE#6D46BE

#6D46BE is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.179 H 293.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6D46BE
RGBrgb(109, 70, 190)
HSLhsl(260, 48%, 51%)
HSVhsv(260, 63%, 75%)
CMYKcmyk(42.6%, 63.2%, 0%, 25.5%)
CIE-LABlab(40.16, 43.93, -57.43)
CIE-LCHlch(40.16, 72.30, 307.41°)
OKLaboklab(50.3% 0.0728 -0.1639)
OKLCHoklch(50.3% 0.179 293.9)
XYZxyz(17.7886, 11.3488, 49.9585)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D46BE #97BE46
analogous
#465BBE #6D46BE #A946BE
triadic
#6D46BE #BE6D46 #46BE6D
tetradic
#6D46BE #BE465B #97BE46 #46BEA9
square
#6D46BE #BE465B #97BE46 #46BEA9
split-complementary
#6D46BE #BEA946 #5BBE46
monochromatic
#392466 #533493 #6D46BE #9173CE #B4A1DE

Accessibility & contrast

On white

6.42
#6D46BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6D46BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D46BE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D46BE#FFFFFF#000000##FFFFFF
##6D46BE1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d46be;
/* rgb */ color: rgb(109, 70, 190);
/* oklch */ color: oklch(50.3% 0.179 293.9);
Tailwind
colors: {
  custom: {
    50: '#9d7bd2',
    500: '#6d46be',
    950: '#000000',
  },
}
SCSS
$custom: #6d46be;
$custom-light: #9d7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d46be",
  "rgb": {
    "r": 109,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 259.5,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50301,
    "c": 0.17932,
    "h": 293.9
  },
  "luminance": 0.11349
}

Semantic roles & 50–950 ramp

primary
#6D46BE
secondary
#B9CA95
accent
#D850AC
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6D46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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