#6B46CD#6B46CD

#6B46CD is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.3% C 0.198 H 290.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6B46CD
RGBrgb(107, 70, 205)
HSLhsl(256, 57%, 54%)
HSVhsv(256, 66%, 80%)
CMYKcmyk(47.8%, 65.9%, 0%, 19.6%)
CIE-LABlab(41.08, 47.71, -64.67)
CIE-LCHlch(41.08, 80.36, 306.42°)
OKLaboklab(51.27% 0.0684 -0.1853)
OKLCHoklch(51.27% 0.198 290.3)
XYZxyz(19.2699, 11.9131, 59.0299)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B46CD #A8CD46
analogous
#4665CD #6B46CD #AE46CD
triadic
#6B46CD #CD6B46 #46CD6B
tetradic
#6B46CD #CD4665 #A8CD46 #46CDAE
square
#6B46CD #CD4665 #A8CD46 #46CDAE
split-complementary
#6B46CD #CDAE46 #65CD46
monochromatic
#382078 #4F2DA8 #6B46CD #9276DA #B8A6E7

Accessibility & contrast

On white

6.21
#6B46CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6B46CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B46CD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B46CD#FFFFFF#000000##FFFFFF
##6B46CD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#4B6783
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b46cd;
/* rgb */ color: rgb(107, 70, 205);
/* oklch */ color: oklch(51.3% 0.198 290.3);
Tailwind
colors: {
  custom: {
    50: '#9d7cdd',
    500: '#6b46cd',
    950: '#000000',
  },
}
SCSS
$custom: #6b46cd;
$custom-light: #9d7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b46cd",
  "rgb": {
    "r": 107,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 256.444,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51267,
    "c": 0.1975,
    "h": 290.3
  },
  "luminance": 0.11914
}

Semantic roles & 50–950 ramp

primary
#6B46CD
secondary
#C4D49B
accent
#E147B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B46CD

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

Preview Lab → · Contrast checker → · Palette generator →

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