#6F3FA2#6F3FA2

#6F3FA2 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.4% C 0.156 H 303.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6F3FA2
RGBrgb(111, 63, 162)
HSLhsl(269, 44%, 44%)
HSVhsv(269, 61%, 64%)
CMYKcmyk(31.5%, 61.1%, 0%, 36.5%)
CIE-LABlab(37.01, 40.83, -45.91)
CIE-LCHlch(37.01, 61.44, 311.64°)
OKLaboklab(47.45% 0.0854 -0.13)
OKLCHoklch(47.45% 0.156 303.3)
XYZxyz(14.8532, 9.5432, 35.2349)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3FA2 #72A23F
analogous
#3F41A2 #6F3FA2 #A13FA2
triadic
#6F3FA2 #A26F3F #3FA26F
tetradic
#6F3FA2 #A23F41 #72A23F #3FA2A1
square
#6F3FA2 #A23F41 #72A23F #3FA2A1
split-complementary
#6F3FA2 #A2A13F #41A23F
monochromatic
#331D4A #512E76 #6F3FA2 #8E5EC0 #AD8AD1

Accessibility & contrast

On white

7.22
#6F3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6F3FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3FA2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3FA2#FFFFFF#000000##FFFFFF
##6F3FA21.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0856A5
Deuteranopia (green-blind)
#2557A0
Tritanopia (blue-blind)
#65536A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f3fa2;
/* rgb */ color: rgb(111, 63, 162);
/* oklch */ color: oklch(47.4% 0.156 303.3);
Tailwind
colors: {
  custom: {
    50: '#9c76be',
    500: '#6f3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #6f3fa2;
$custom-light: #9c76be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3fa2",
  "rgb": {
    "r": 111,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 269.091,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47446,
    "c": 0.15552,
    "h": 303.3
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#6F3FA2
secondary
#9FBC81
accent
#D45496
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6F3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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