#6F46DB#6F46DB

#6F46DB is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.8% C 0.214 H 289.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6F46DB
RGBrgb(111, 70, 219)
HSLhsl(257, 67%, 57%)
HSVhsv(257, 68%, 86%)
CMYKcmyk(49.3%, 68%, 0%, 14.1%)
CIE-LABlab(42.57, 52.32, -70.26)
CIE-LCHlch(42.57, 87.60, 306.67°)
OKLaboklab(52.78% 0.0719 -0.2016)
OKLCHoklch(52.78% 0.214 289.6)
XYZxyz(21.5282, 12.8734, 68.3546)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F46DB #B2DB46
analogous
#4668DB #6F46DB #BA46DB
triadic
#6F46DB #DB6F46 #46DB6F
tetradic
#6F46DB #DB4668 #B2DB46 #46DBBA
square
#6F46DB #DB4668 #B2DB46 #46DBBA
split-complementary
#6F46DB #DBBA46 #68DB46
monochromatic
#3A1B8B #4F25BF #6F46DB #9779E5 #BFACEF

Accessibility & contrast

On white

5.87
#6F46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6F46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F46DB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F46DB#FFFFFF#000000##FFFFFF
##6F46DB1.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#4A6C8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6f46db;
/* rgb */ color: rgb(111, 70, 219);
/* oklch */ color: oklch(52.8% 0.214 289.6);
Tailwind
colors: {
  custom: {
    50: '#a17ce7',
    500: '#6f46db',
    950: '#000000',
  },
}
SCSS
$custom: #6f46db;
$custom-light: #a17ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f46db",
  "rgb": {
    "r": 111,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 256.51,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52776,
    "c": 0.214,
    "h": 289.6
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#6F46DB
secondary
#CCDDA0
accent
#EA3DBB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6F46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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