#6F46CC#6F46CC

#6F46CC is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.196 H 292.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6F46CC
RGBrgb(111, 70, 204)
HSLhsl(258, 57%, 54%)
HSVhsv(258, 66%, 80%)
CMYKcmyk(45.6%, 65.7%, 0%, 20%)
CIE-LABlab(41.40, 48.18, -63.54)
CIE-LCHlch(41.40, 79.74, 307.17°)
OKLaboklab(51.57% 0.0741 -0.1818)
OKLCHoklch(51.57% 0.196 292.2)
XYZxyz(19.6418, 12.1188, 58.4193)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F46CC #A3CC46
analogous
#4660CC #6F46CC #B246CC
triadic
#6F46CC #CC6F46 #46CC6F
tetradic
#6F46CC #CC4660 #A3CC46 #46CCB2
square
#6F46CC #CC4660 #A3CC46 #46CCB2
split-complementary
#6F46CC #CCB246 #60CC46
monochromatic
#3B2177 #532EA7 #6F46CC #9476D9 #BAA6E6

Accessibility & contrast

On white

6.13
#6F46CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6F46CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F46CC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F46CC#FFFFFF#000000##FFFFFF
##6F46CC1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#536683
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6f46cc;
/* rgb */ color: rgb(111, 70, 204);
/* oklch */ color: oklch(51.6% 0.196 292.2);
Tailwind
colors: {
  custom: {
    50: '#a07cdc',
    500: '#6f46cc',
    950: '#000000',
  },
}
SCSS
$custom: #6f46cc;
$custom-light: #a07cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f46cc",
  "rgb": {
    "r": 111,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 258.358,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51573,
    "c": 0.19632,
    "h": 292.2
  },
  "luminance": 0.12119
}

Semantic roles & 50–950 ramp

primary
#6F46CC
secondary
#C2D49A
accent
#E048B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F46CC

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

Preview Lab → · Contrast checker → · Palette generator →

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