#6F2FA5#6F2FA5

#6F2FA5 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.181 H 305.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6F2FA5
RGBrgb(111, 47, 165)
HSLhsl(273, 56%, 42%)
HSVhsv(273, 72%, 65%)
CMYKcmyk(32.7%, 71.5%, 0%, 35.3%)
CIE-LABlab(34.25, 49.72, -52.17)
CIE-LCHlch(34.25, 72.07, 313.62°)
OKLaboklab(45.53% 0.1037 -0.1483)
OKLCHoklch(45.53% 0.181 305)
XYZxyz(14.3621, 8.1292, 36.4025)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FA5 #65A52F
analogous
#342FA5 #6F2FA5 #A52FA0
triadic
#6F2FA5 #A56F2F #2FA56F
tetradic
#6F2FA5 #A5342F #65A52F #2FA0A5
square
#6F2FA5 #A5342F #65A52F #2FA0A5
split-complementary
#6F2FA5 #A0A52F #2FA534
monochromatic
#2F1446 #4F2175 #6F2FA5 #8E47CB #AB76D8

Accessibility & contrast

On white

8.00
#6F2FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6F2FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2FA5
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FA5#FFFFFF#000000##FFFFFF
##6F2FA51.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#654B67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f2fa5;
/* rgb */ color: rgb(111, 47, 165);
/* oklch */ color: oklch(45.5% 0.181 305.0);
Tailwind
colors: {
  custom: {
    50: '#9d6dc0',
    500: '#6f2fa5',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fa5;
$custom-light: #9d6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fa5",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 272.542,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45526,
    "c": 0.18095,
    "h": 305
  },
  "luminance": 0.08129
}

Semantic roles & 50–950 ramp

primary
#6F2FA5
secondary
#94C070
accent
#DF498E
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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