#6F4FA8#6F4FA8

#6F4FA8 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.4% C 0.138 H 297.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6F4FA8
RGBrgb(111, 79, 168)
HSLhsl(262, 36%, 48%)
HSVhsv(262, 53%, 66%)
CMYKcmyk(33.9%, 53%, 0%, 34.1%)
CIE-LABlab(40.89, 33.23, -43.27)
CIE-LCHlch(40.89, 54.56, 307.52°)
OKLaboklab(50.42% 0.0646 -0.1222)
OKLCHoklch(50.42% 0.138 297.8)
XYZxyz(16.4177, 11.7984, 38.4506)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4FA8 #88A84F
analogous
#4F5BA8 #6F4FA8 #9B4FA8
triadic
#6F4FA8 #A86F4F #4FA86F
tetradic
#6F4FA8 #A84F5B #88A84F #4FA89B
square
#6F4FA8 #A84F5B #88A84F #4FA89B
split-complementary
#6F4FA8 #A89B4F #5BA84F
monochromatic
#382855 #533B7E #6F4FA8 #9076BE #B29FD2

Accessibility & contrast

On white

6.25
#6F4FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6F4FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4FA8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4FA8#FFFFFF#000000##FFFFFF
##6F4FA81.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D61AB
Deuteranopia (green-blind)
#365FA6
Tritanopia (blue-blind)
#636074
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6f4fa8;
/* rgb */ color: rgb(111, 79, 168);
/* oklch */ color: oklch(50.4% 0.138 297.8);
Tailwind
colors: {
  custom: {
    50: '#9b81c2',
    500: '#6f4fa8',
    950: '#000000',
  },
}
SCSS
$custom: #6f4fa8;
$custom-light: #9b81c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4fa8",
  "rgb": {
    "r": 111,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 261.573,
    "s": 36.032,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50424,
    "c": 0.13826,
    "h": 297.8
  },
  "luminance": 0.11799
}

Semantic roles & 50–950 ramp

primary
#6F4FA8
secondary
#AFBF94
accent
#CC5CA4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6F4FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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