#6F46CB#6F46CB

#6F46CB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.195 H 292.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6F46CB
RGBrgb(111, 70, 203)
HSLhsl(258, 56%, 54%)
HSVhsv(258, 66%, 80%)
CMYKcmyk(45.3%, 65.5%, 0%, 20.4%)
CIE-LABlab(41.33, 47.90, -63.09)
CIE-LCHlch(41.33, 79.21, 307.21°)
OKLaboklab(51.5% 0.0742 -0.1805)
OKLCHoklch(51.5% 0.195 292.3)
XYZxyz(19.5222, 12.0710, 57.7897)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F46CB #A2CB46
analogous
#465FCB #6F46CB #B146CB
triadic
#6F46CB #CB6F46 #46CB6F
tetradic
#6F46CB #CB465F #A2CB46 #46CBB1
square
#6F46CB #CB465F #A2CB46 #46CBB1
split-complementary
#6F46CB #CBB146 #5FCB46
monochromatic
#3B2176 #532EA5 #6F46CB #9476D8 #B9A6E6

Accessibility & contrast

On white

6.15
#6F46CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6F46CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F46CB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F46CB#FFFFFF#000000##FFFFFF
##6F46CB1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#546682
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6f46cb;
/* rgb */ color: rgb(111, 70, 203);
/* oklch */ color: oklch(51.5% 0.195 292.3);
Tailwind
colors: {
  custom: {
    50: '#9f7cdc',
    500: '#6f46cb',
    950: '#000000',
  },
}
SCSS
$custom: #6f46cb;
$custom-light: #9f7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f46cb",
  "rgb": {
    "r": 111,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 258.496,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.19512,
    "h": 292.3
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#6F46CB
secondary
#C1D39A
accent
#DF48B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F46CB

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

Preview Lab → · Contrast checker → · Palette generator →

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