#6F2EA2#6F2EA2

#6F2EA2 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.179 H 306.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6F2EA2
RGBrgb(111, 46, 162)
HSLhsl(274, 56%, 41%)
HSVhsv(274, 72%, 64%)
CMYKcmyk(31.5%, 71.6%, 0%, 36.5%)
CIE-LABlab(33.86, 49.47, -50.99)
CIE-LCHlch(33.86, 71.04, 314.13°)
OKLaboklab(45.18% 0.1052 -0.1448)
OKLCHoklch(45.18% 0.179 306)
XYZxyz(14.0527, 7.9423, 34.9681)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2EA2 #61A22E
analogous
#352EA2 #6F2EA2 #A22E9B
triadic
#6F2EA2 #A26F2E #2EA26F
tetradic
#6F2EA2 #A2352E #61A22E #2E9BA2
square
#6F2EA2 #A2352E #61A22E #2E9BA2
split-complementary
#6F2EA2 #9BA22E #2EA235
monochromatic
#2E1343 #4E2072 #6F2EA2 #8F43CA #AB73D7

Accessibility & contrast

On white

8.11
#6F2EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6F2EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2EA2
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2EA2#FFFFFF#000000##FFFFFF
##6F2EA21.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#664965
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2ea2;
/* rgb */ color: rgb(111, 46, 162);
/* oklch */ color: oklch(45.2% 0.179 306.0);
Tailwind
colors: {
  custom: {
    50: '#9d6cbe',
    500: '#6f2ea2',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ea2;
$custom-light: #9d6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ea2",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 273.621,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45179,
    "c": 0.17901,
    "h": 306
  },
  "luminance": 0.07942
}

Semantic roles & 50–950 ramp

primary
#6F2EA2
secondary
#91BF6D
accent
#DF498B
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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