#6F3CA2#6F3CA2

#6F3CA2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.0% C 0.160 H 303.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6F3CA2
RGBrgb(111, 60, 162)
HSLhsl(270, 46%, 44%)
HSVhsv(270, 63%, 64%)
CMYKcmyk(31.5%, 63%, 0%, 36.5%)
CIE-LABlab(36.40, 42.46, -46.89)
CIE-LCHlch(36.40, 63.25, 312.16°)
OKLaboklab(47.01% 0.0892 -0.1328)
OKLCHoklch(47.01% 0.16 303.9)
XYZxyz(14.6915, 9.2199, 35.1810)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3CA2 #6FA23C
analogous
#3C3CA2 #6F3CA2 #A23CA2
triadic
#6F3CA2 #A26F3C #3CA26F
tetradic
#6F3CA2 #A23C3C #6FA23C #3CA2A2
square
#6F3CA2 #A23C3C #6FA23C #3CA2A2
split-complementary
#6F3CA2 #A2A23C #3CA23C
monochromatic
#321B49 #502B75 #6F3CA2 #8E59C2 #AC86D2

Accessibility & contrast

On white

7.38
#6F3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6F3CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3CA2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3CA2#FFFFFF#000000##FFFFFF
##6F3CA21.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#2156A0
Tritanopia (blue-blind)
#665169
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f3ca2;
/* rgb */ color: rgb(111, 60, 162);
/* oklch */ color: oklch(47.0% 0.160 303.9);
Tailwind
colors: {
  custom: {
    50: '#9c75be',
    500: '#6f3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #6f3ca2;
$custom-light: #9c75be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3ca2",
  "rgb": {
    "r": 111,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 270,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47006,
    "c": 0.15997,
    "h": 303.9
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#6F3CA2
secondary
#9DBC7D
accent
#D65294
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0F0812
muted
#7E7B81

Preview Lab

Preview with #6F3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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