#6F2FA8#6F2FA8

#6F2FA8 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.184 H 304.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6F2FA8
RGBrgb(111, 47, 168)
HSLhsl(272, 56%, 42%)
HSVhsv(272, 72%, 66%)
CMYKcmyk(33.9%, 72%, 0%, 34.1%)
CIE-LABlab(34.48, 50.44, -53.61)
CIE-LCHlch(34.48, 73.60, 313.26°)
OKLaboklab(45.76% 0.1032 -0.1525)
OKLCHoklch(45.76% 0.184 304.1)
XYZxyz(14.6383, 8.2397, 37.8574)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FA8 #68A82F
analogous
#332FA8 #6F2FA8 #A82FA4
triadic
#6F2FA8 #A86F2F #2FA86F
tetradic
#6F2FA8 #A8332F #68A82F #2FA4A8
square
#6F2FA8 #A8332F #68A82F #2FA4A8
split-complementary
#6F2FA8 #A4A82F #2FA833
monochromatic
#301448 #4F2278 #6F2FA8 #8E48CC #AC78D9

Accessibility & contrast

On white

7.93
#6F2FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6F2FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2FA8
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FA8#FFFFFF#000000##FFFFFF
##6F2FA81.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#644C68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f2fa8;
/* rgb */ color: rgb(111, 47, 168);
/* oklch */ color: oklch(45.8% 0.184 304.1);
Tailwind
colors: {
  custom: {
    50: '#9d6dc3',
    500: '#6f2fa8',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fa8;
$custom-light: #9d6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fa8",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 271.736,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45759,
    "c": 0.18415,
    "h": 304.1
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#6F2FA8
secondary
#97C171
accent
#E04890
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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