#6F2FA4#6F2FA4

#6F2FA4 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.180 H 305.3°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6F2FA4
RGBrgb(111, 47, 164)
HSLhsl(273, 55%, 41%)
HSVhsv(273, 71%, 64%)
CMYKcmyk(32.3%, 71.3%, 0%, 35.7%)
CIE-LABlab(34.18, 49.48, -51.69)
CIE-LCHlch(34.18, 71.55, 313.75°)
OKLaboklab(45.45% 0.1039 -0.1469)
OKLCHoklch(45.45% 0.18 305.3)
XYZxyz(14.2714, 8.0930, 35.9250)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FA4 #64A42F
analogous
#352FA4 #6F2FA4 #A42F9F
triadic
#6F2FA4 #A46F2F #2FA46F
tetradic
#6F2FA4 #A4352F #64A42F #2F9FA4
square
#6F2FA4 #A4352F #64A42F #2F9FA4
split-complementary
#6F2FA4 #9FA42F #2FA435
monochromatic
#2F1445 #4F2174 #6F2FA4 #8E46CA #AB76D8

Accessibility & contrast

On white

8.02
#6F2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6F2FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2FA4
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FA4#FFFFFF#000000##FFFFFF
##6F2FA41.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#654A66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2fa4;
/* rgb */ color: rgb(111, 47, 164);
/* oklch */ color: oklch(45.4% 0.180 305.3);
Tailwind
colors: {
  custom: {
    50: '#9d6dc0',
    500: '#6f2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fa4;
$custom-light: #9d6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fa4",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 272.821,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45449,
    "c": 0.17989,
    "h": 305.3
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#6F2FA4
secondary
#94C06F
accent
#DF498D
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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