#6F2EA1#6F2EA1

#6F2EA1 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.178 H 306.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#6F2EA1
RGBrgb(111, 46, 161)
HSLhsl(274, 56%, 41%)
HSVhsv(274, 71%, 63%)
CMYKcmyk(31.1%, 71.4%, 0%, 36.9%)
CIE-LABlab(33.79, 49.23, -50.51)
CIE-LCHlch(33.79, 70.53, 314.26°)
OKLaboklab(45.1% 0.1054 -0.1434)
OKLCHoklch(45.1% 0.178 306.3)
XYZxyz(13.9642, 7.9068, 34.5018)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2EA1 #60A12E
analogous
#352EA1 #6F2EA1 #A12E99
triadic
#6F2EA1 #A16F2E #2EA16F
tetradic
#6F2EA1 #A1352E #60A12E #2E99A1
square
#6F2EA1 #A1352E #60A12E #2E99A1
split-complementary
#6F2EA1 #99A12E #2EA135
monochromatic
#2D1342 #4E2071 #6F2EA1 #8F43C9 #AB73D7

Accessibility & contrast

On white

8.14
#6F2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6F2EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2EA1
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2EA1#FFFFFF#000000##FFFFFF
##6F2EA11.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#02509F
Tritanopia (blue-blind)
#664864
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2ea1;
/* rgb */ color: rgb(111, 46, 161);
/* oklch */ color: oklch(45.1% 0.178 306.3);
Tailwind
colors: {
  custom: {
    50: '#9d6cbe',
    500: '#6f2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ea1;
$custom-light: #9d6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ea1",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 273.913,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45103,
    "c": 0.17796,
    "h": 306.3
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#6F2EA1
secondary
#90BE6C
accent
#DF498A
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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