#6F2FA6#6F2FA6

#6F2FA6 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.182 H 304.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6F2FA6
RGBrgb(111, 47, 166)
HSLhsl(272, 56%, 42%)
HSVhsv(272, 72%, 65%)
CMYKcmyk(33.1%, 71.7%, 0%, 34.9%)
CIE-LABlab(34.33, 49.96, -52.65)
CIE-LCHlch(34.33, 72.58, 313.50°)
OKLaboklab(45.6% 0.1035 -0.1497)
OKLCHoklch(45.6% 0.182 304.7)
XYZxyz(14.4534, 8.1658, 36.8837)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FA6 #66A62F
analogous
#342FA6 #6F2FA6 #A62FA2
triadic
#6F2FA6 #A66F2F #2FA66F
tetradic
#6F2FA6 #A6342F #66A62F #2FA2A6
square
#6F2FA6 #A6342F #66A62F #2FA2A6
split-complementary
#6F2FA6 #A2A62F #2FA634
monochromatic
#2F1447 #4F2176 #6F2FA6 #8E47CB #AB77D8

Accessibility & contrast

On white

7.98
#6F2FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2FA6
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FA6#FFFFFF#000000##FFFFFF
##6F2FA61.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2fa6;
/* rgb */ color: rgb(111, 47, 166);
/* oklch */ color: oklch(45.6% 0.182 304.7);
Tailwind
colors: {
  custom: {
    50: '#9d6dc1',
    500: '#6f2fa6',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fa6;
$custom-light: #9d6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fa6",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 272.269,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45603,
    "c": 0.18202,
    "h": 304.7
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#6F2FA6
secondary
#95C170
accent
#DF498E
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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