#6D46B9#6D46B9

#6D46B9 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.173 H 295.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#6D46B9
RGBrgb(109, 70, 185)
HSLhsl(260, 45%, 50%)
HSVhsv(260, 62%, 73%)
CMYKcmyk(41.1%, 62.2%, 0%, 27.5%)
CIE-LABlab(39.81, 42.56, -55.07)
CIE-LCHlch(39.81, 69.60, 307.69°)
OKLaboklab(49.93% 0.0731 -0.157)
OKLCHoklch(49.93% 0.173 295)
XYZxyz(17.2515, 11.1339, 47.1297)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D46B9 #92B946
analogous
#4658B9 #6D46B9 #A746B9
triadic
#6D46B9 #B96D46 #46B96D
tetradic
#6D46B9 #B94658 #92B946 #46B9A7
square
#6D46B9 #B94658 #92B946 #46B9A7
split-complementary
#6D46B9 #B9A746 #58B946
monochromatic
#392460 #53358D #6D46B9 #9072CA #B39FDB

Accessibility & contrast

On white

6.51
#6D46B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6D46B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D46B9
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D46B9#FFFFFF#000000##FFFFFF
##6D46B91.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#596079
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6d46b9;
/* rgb */ color: rgb(109, 70, 185);
/* oklch */ color: oklch(49.9% 0.173 295.0);
Tailwind
colors: {
  custom: {
    50: '#9c7bcf',
    500: '#6d46b9',
    950: '#000000',
  },
}
SCSS
$custom: #6d46b9;
$custom-light: #9c7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d46b9",
  "rgb": {
    "r": 109,
    "g": 70,
    "b": 185
  },
  "hsl": {
    "h": 260.348,
    "s": 45.098,
    "l": 50
  },
  "oklch": {
    "l": 0.49929,
    "c": 0.17317,
    "h": 295
  },
  "luminance": 0.11134
}

Semantic roles & 50–950 ramp

primary
#6D46B9
secondary
#B6C794
accent
#D553A9
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6D46B9

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

Preview Lab → · Contrast checker → · Palette generator →

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