#6F2DA7#6F2DA7

#6F2DA7 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.185 H 304.6°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6F2DA7
RGBrgb(111, 45, 167)
HSLhsl(272, 58%, 42%)
HSVhsv(272, 73%, 65%)
CMYKcmyk(33.5%, 73.1%, 0%, 34.5%)
CIE-LABlab(34.08, 51.11, -53.65)
CIE-LCHlch(34.08, 74.10, 313.61°)
OKLaboklab(45.45% 0.1054 -0.1526)
OKLCHoklch(45.45% 0.185 304.6)
XYZxyz(14.4674, 8.0464, 37.3427)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2DA7 #65A72D
analogous
#322DA7 #6F2DA7 #A72DA2
triadic
#6F2DA7 #A76F2D #2DA76F
tetradic
#6F2DA7 #A7322D #65A72D #2DA2A7
square
#6F2DA7 #A7322D #65A72D #2DA2A7
split-complementary
#6F2DA7 #A2A72D #2DA732
monochromatic
#2F1347 #4F2077 #6F2DA7 #8E44CD #AB75DA

Accessibility & contrast

On white

8.05
#6F2DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6F2DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2DA7
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2DA7#FFFFFF#000000##FFFFFF
##6F2DA71.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#644A67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2da7;
/* rgb */ color: rgb(111, 45, 167);
/* oklch */ color: oklch(45.5% 0.185 304.6);
Tailwind
colors: {
  custom: {
    50: '#9d6cc2',
    500: '#6f2da7',
    950: '#000000',
  },
}
SCSS
$custom: #6f2da7;
$custom-light: #9d6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2da7",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 272.459,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45452,
    "c": 0.18548,
    "h": 304.6
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

primary
#6F2DA7
secondary
#94C16E
accent
#E1478E
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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