#6F4FA2#6F4FA2

#6F4FA2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.0% C 0.130 H 299.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#6F4FA2
RGBrgb(111, 79, 162)
HSLhsl(263, 34%, 47%)
HSVhsv(263, 51%, 64%)
CMYKcmyk(31.5%, 51.2%, 0%, 36.5%)
CIE-LABlab(40.54, 31.63, -40.27)
CIE-LCHlch(40.54, 51.20, 308.15°)
OKLaboklab(50.05% 0.0641 -0.1134)
OKLCHoklch(50.05% 0.13 299.5)
XYZxyz(15.8716, 11.5800, 35.5744)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4FA2 #82A24F
analogous
#4F58A2 #6F4FA2 #994FA2
triadic
#6F4FA2 #A26F4F #4FA26F
tetradic
#6F4FA2 #A24F58 #82A24F #4FA299
square
#6F4FA2 #A24F58 #82A24F #4FA299
split-complementary
#6F4FA2 #A2994F #58A24F
monochromatic
#372750 #533B79 #6F4FA2 #8F73BB #B09CCF

Accessibility & contrast

On white

6.33
#6F4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6F4FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4FA2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4FA2#FFFFFF#000000##FFFFFF
##6F4FA21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA5
Deuteranopia (green-blind)
#3B5FA0
Tritanopia (blue-blind)
#655F71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6f4fa2;
/* rgb */ color: rgb(111, 79, 162);
/* oklch */ color: oklch(50.0% 0.130 299.5);
Tailwind
colors: {
  custom: {
    50: '#9b81be',
    500: '#6f4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #6f4fa2;
$custom-light: #9b81be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4fa2",
  "rgb": {
    "r": 111,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 263.133,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50047,
    "c": 0.13031,
    "h": 299.5
  },
  "luminance": 0.1158
}

Semantic roles & 50–950 ramp

primary
#6F4FA2
secondary
#ABBC91
accent
#CB5DA0
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6F4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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