#6F2EA7#6F2EA7

#6F2EA7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.184 H 304.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6F2EA7
RGBrgb(111, 46, 167)
HSLhsl(272, 57%, 42%)
HSVhsv(272, 72%, 65%)
CMYKcmyk(33.5%, 72.5%, 0%, 34.5%)
CIE-LABlab(34.24, 50.65, -53.39)
CIE-LCHlch(34.24, 73.60, 313.49°)
OKLaboklab(45.57% 0.1044 -0.1519)
OKLCHoklch(45.57% 0.184 304.5)
XYZxyz(14.5060, 8.1236, 37.3555)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2EA7 #66A72E
analogous
#322EA7 #6F2EA7 #A72EA3
triadic
#6F2EA7 #A76F2E #2EA76F
tetradic
#6F2EA7 #A7322E #66A72E #2EA3A7
square
#6F2EA7 #A7322E #66A72E #2EA3A7
split-complementary
#6F2EA7 #A3A72E #2EA732
monochromatic
#2F1447 #4F2177 #6F2EA7 #8E46CC #AB76D9

Accessibility & contrast

On white

8.00
#6F2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6F2EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2EA7
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2EA7#FFFFFF#000000##FFFFFF
##6F2EA71.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2ea7;
/* rgb */ color: rgb(111, 46, 167);
/* oklch */ color: oklch(45.6% 0.184 304.5);
Tailwind
colors: {
  custom: {
    50: '#9d6dc2',
    500: '#6f2ea7',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ea7;
$custom-light: #9d6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ea7",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 272.231,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45565,
    "c": 0.18429,
    "h": 304.5
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F2EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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