#6F2EA0#6F2EA0

#6F2EA0 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.177 H 306.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6F2EA0
RGBrgb(111, 46, 160)
HSLhsl(274, 55%, 40%)
HSVhsv(274, 71%, 63%)
CMYKcmyk(30.6%, 71.2%, 0%, 37.3%)
CIE-LABlab(33.71, 48.99, -50.02)
CIE-LCHlch(33.71, 70.02, 314.40°)
OKLaboklab(45.03% 0.1055 -0.142)
OKLCHoklch(45.03% 0.177 306.6)
XYZxyz(13.8763, 7.8717, 34.0393)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2EA0 #5FA02E
analogous
#362EA0 #6F2EA0 #A02E98
triadic
#6F2EA0 #A06F2E #2EA06F
tetradic
#6F2EA0 #A0362E #5FA02E #2E98A0
square
#6F2EA0 #A0362E #5FA02E #2E98A0
split-complementary
#6F2EA0 #98A02E #2EA036
monochromatic
#2D1341 #4E2070 #6F2EA0 #8F42C9 #AB72D6

Accessibility & contrast

On white

8.16
#6F2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6F2EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2EA0
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2EA0#FFFFFF#000000##FFFFFF
##6F2EA01.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#06509E
Tritanopia (blue-blind)
#674864
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2ea0;
/* rgb */ color: rgb(111, 46, 160);
/* oklch */ color: oklch(45.0% 0.177 306.6);
Tailwind
colors: {
  custom: {
    50: '#9d6cbd',
    500: '#6f2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ea0;
$custom-light: #9d6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ea0",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 274.211,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45027,
    "c": 0.1769,
    "h": 306.6
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#6F2EA0
secondary
#8FBE6C
accent
#DF4989
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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