#6B46DA#6B46DA

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

Color values

HEX#6B46DA
RGBrgb(107, 70, 218)
HSLhsl(255, 67%, 56%)
HSVhsv(255, 68%, 85%)
CMYKcmyk(50.9%, 67.9%, 0%, 14.5%)
CIE-LABlab(42.10, 51.37, -70.47)
CIE-LCHlch(42.10, 87.21, 306.09°)
OKLaboklab(52.32% 0.0666 -0.2023)
OKLCHoklch(52.32% 0.213 288.2)
XYZxyz(20.9048, 12.5671, 67.6403)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B46DA #B5DA46
analogous
#466BDA #6B46DA #B546DA
triadic
#6B46DA #DA6B46 #46DA6B
tetradic
#6B46DA #DA466B #B5DA46 #46DAB5
square
#6B46DA #DA466B #B5DA46 #46DAB5
split-complementary
#6B46DA #DAB546 #6BDA46
monochromatic
#371C8A #4C26BD #6B46DA #9479E4 #BDACEE

Accessibility & contrast

On white

5.98
#6B46DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6B46DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B46DA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B46DA#FFFFFF#000000##FFFFFF
##6B46DA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#426C8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6b46da;
/* rgb */ color: rgb(107, 70, 218);
/* oklch */ color: oklch(52.3% 0.213 288.2);
Tailwind
colors: {
  custom: {
    50: '#9f7ce7',
    500: '#6b46da',
    950: '#000000',
  },
}
SCSS
$custom: #6b46da;
$custom-light: #9f7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b46da",
  "rgb": {
    "r": 107,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 255,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52324,
    "c": 0.21298,
    "h": 288.2
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

primary
#6B46DA
secondary
#CDDCA0
accent
#EA3EBF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B46DA

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

Preview Lab → · Contrast checker → · Palette generator →

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