#6F2FAF#6F2FAF

#6F2FAF is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.192 H 302.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#6F2FAF
RGBrgb(111, 47, 175)
HSLhsl(270, 58%, 44%)
HSVhsv(270, 73%, 69%)
CMYKcmyk(36.6%, 73.1%, 0%, 31.4%)
CIE-LABlab(35.02, 52.13, -56.91)
CIE-LCHlch(35.02, 77.18, 312.49°)
OKLaboklab(46.31% 0.1019 -0.1622)
OKLCHoklch(46.31% 0.192 302.1)
XYZxyz(15.3081, 8.5076, 41.3848)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FAF #6FAF2F
analogous
#2F2FAF #6F2FAF #AF2FAF
triadic
#6F2FAF #AF6F2F #2FAF6F
tetradic
#6F2FAF #AF2F2F #6FAF2F #2FAFAF
square
#6F2FAF #AF2F2F #6FAF2F #2FAFAF
split-complementary
#6F2FAF #AFAF2F #2FAF2F
monochromatic
#32154F #50227F #6F2FAF #8E4CCF #AC7CDC

Accessibility & contrast

On white

7.77
#6F2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6F2FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2FAF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FAF#FFFFFF#000000##FFFFFF
##6F2FAF1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#614F6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f2faf;
/* rgb */ color: rgb(111, 47, 175);
/* oklch */ color: oklch(46.3% 0.192 302.1);
Tailwind
colors: {
  custom: {
    50: '#9e6dc8',
    500: '#6f2faf',
    950: '#000000',
  },
}
SCSS
$custom: #6f2faf;
$custom-light: #9e6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2faf",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 270,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46312,
    "c": 0.19157,
    "h": 302.1
  },
  "luminance": 0.08508
}

Semantic roles & 50–950 ramp

primary
#6F2FAF
secondary
#9DC475
accent
#E14794
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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