#6F2CAF#6F2CAF

#6F2CAF is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.195 H 302.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#6F2CAF
RGBrgb(111, 44, 175)
HSLhsl(271, 60%, 43%)
HSVhsv(271, 75%, 69%)
CMYKcmyk(36.6%, 74.9%, 0%, 31.4%)
CIE-LABlab(34.55, 53.46, -57.67)
CIE-LCHlch(34.55, 78.64, 312.83°)
OKLaboklab(45.98% 0.1047 -0.1644)
OKLCHoklch(45.98% 0.195 302.5)
XYZxyz(15.1922, 8.2760, 41.3462)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2CAF #6CAF2C
analogous
#2E2CAF #6F2CAF #AF2CAD
triadic
#6F2CAF #AF6F2C #2CAF6F
tetradic
#6F2CAF #AF2E2C #6CAF2C #2CADAF
square
#6F2CAF #AF2E2C #6CAF2C #2CADAF
split-complementary
#6F2CAF #ADAF2C #2CAF2E
monochromatic
#31134D #50207E #6F2CAF #8E47D1 #AC78DD

Accessibility & contrast

On white

7.91
#6F2CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6F2CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2CAF
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2CAF#FFFFFF#000000##FFFFFF
##6F2CAF1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#624D6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f2caf;
/* rgb */ color: rgb(111, 44, 175);
/* oklch */ color: oklch(46.0% 0.195 302.5);
Tailwind
colors: {
  custom: {
    50: '#9e6cc8',
    500: '#6f2caf',
    950: '#000000',
  },
}
SCSS
$custom: #6f2caf;
$custom-light: #9e6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2caf",
  "rgb": {
    "r": 111,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 270.687,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45982,
    "c": 0.19496,
    "h": 302.5
  },
  "luminance": 0.08276
}

Semantic roles & 50–950 ramp

primary
#6F2CAF
secondary
#9AC572
accent
#E34592
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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