#6F46BC#6F46BC

#6F46BC is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.4% C 0.177 H 295.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6F46BC
RGBrgb(111, 70, 188)
HSLhsl(261, 47%, 51%)
HSVhsv(261, 63%, 74%)
CMYKcmyk(41%, 62.8%, 0%, 26.3%)
CIE-LABlab(40.23, 43.80, -56.14)
CIE-LCHlch(40.23, 71.20, 307.96°)
OKLaboklab(50.35% 0.0757 -0.16)
OKLCHoklch(50.35% 0.177 295.3)
XYZxyz(17.8204, 11.3903, 48.8268)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F46BC #93BC46
analogous
#4658BC #6F46BC #AA46BC
triadic
#6F46BC #BC6F46 #46BC6F
tetradic
#6F46BC #BC4658 #93BC46 #46BCAA
square
#6F46BC #BC4658 #93BC46 #46BCAA
split-complementary
#6F46BC #BCAA46 #58BC46
monochromatic
#3A2464 #543490 #6F46BC #9273CC #B5A0DD

Accessibility & contrast

On white

6.41
#6F46BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6F46BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F46BC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F46BC#FFFFFF#000000##FFFFFF
##6F46BC1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#5B617A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f46bc;
/* rgb */ color: rgb(111, 70, 188);
/* oklch */ color: oklch(50.4% 0.177 295.3);
Tailwind
colors: {
  custom: {
    50: '#9e7bd1',
    500: '#6f46bc',
    950: '#000000',
  },
}
SCSS
$custom: #6f46bc;
$custom-light: #9e7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f46bc",
  "rgb": {
    "r": 111,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 260.847,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50354,
    "c": 0.17701,
    "h": 295.3
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#6F46BC
secondary
#B7C995
accent
#D651A8
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6F46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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