#6D46D8#6D46D8

#6D46D8 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.3% C 0.211 H 289.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6D46D8
RGBrgb(109, 70, 216)
HSLhsl(256, 65%, 56%)
HSVhsv(256, 68%, 85%)
CMYKcmyk(49.5%, 67.6%, 0%, 15.3%)
CIE-LABlab(42.14, 51.14, -69.27)
CIE-LCHlch(42.14, 86.10, 306.44°)
OKLaboklab(52.34% 0.0696 -0.1987)
OKLCHoklch(52.34% 0.211 289.3)
XYZxyz(20.8879, 12.5885, 66.2817)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D46D8 #B1D846
analogous
#4668D8 #6D46D8 #B646D8
triadic
#6D46D8 #D86D46 #46D86D
tetradic
#6D46D8 #D84668 #B1D846 #46D8B6
square
#6D46D8 #D84668 #B1D846 #46D8B6
split-complementary
#6D46D8 #D8B646 #68D846
monochromatic
#391C87 #4E27BA #6D46D8 #9579E3 #BDABED

Accessibility & contrast

On white

5.97
#6D46D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6D46D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D46D8
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D46D8#FFFFFF#000000##FFFFFF
##6D46D81.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#486B89
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6d46d8;
/* rgb */ color: rgb(109, 70, 216);
/* oklch */ color: oklch(52.3% 0.211 289.3);
Tailwind
colors: {
  custom: {
    50: '#a07ce5',
    500: '#6d46d8',
    950: '#000000',
  },
}
SCSS
$custom: #6d46d8;
$custom-light: #a07ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d46d8",
  "rgb": {
    "r": 109,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 256.027,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52343,
    "c": 0.21055,
    "h": 289.3
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#6D46D8
secondary
#CBDB9F
accent
#E840BB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D46D8

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

Preview Lab → · Contrast checker → · Palette generator →

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