#6F2EA3#6F2EA3

#6F2EA3 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.180 H 305.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6F2EA3
RGBrgb(111, 46, 163)
HSLhsl(273, 56%, 41%)
HSVhsv(273, 72%, 64%)
CMYKcmyk(31.9%, 71.8%, 0%, 36.1%)
CIE-LABlab(33.94, 49.70, -51.47)
CIE-LCHlch(33.94, 71.55, 314.00°)
OKLaboklab(45.26% 0.1051 -0.1462)
OKLCHoklch(45.26% 0.18 305.7)
XYZxyz(14.1419, 7.9780, 35.4381)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2EA3 #62A32E
analogous
#342EA3 #6F2EA3 #A32E9C
triadic
#6F2EA3 #A36F2E #2EA36F
tetradic
#6F2EA3 #A3342E #62A32E #2E9CA3
square
#6F2EA3 #A3342E #62A32E #2E9CA3
split-complementary
#6F2EA3 #9CA32E #2EA334
monochromatic
#2E1344 #4E2173 #6F2EA3 #8F44CA #AB74D8

Accessibility & contrast

On white

8.09
#6F2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6F2EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2EA3
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2EA3#FFFFFF#000000##FFFFFF
##6F2EA31.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2ea3;
/* rgb */ color: rgb(111, 46, 163);
/* oklch */ color: oklch(45.3% 0.180 305.7);
Tailwind
colors: {
  custom: {
    50: '#9d6cbf',
    500: '#6f2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ea3;
$custom-light: #9d6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ea3",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 273.333,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45256,
    "c": 0.18007,
    "h": 305.7
  },
  "luminance": 0.07978
}

Semantic roles & 50–950 ramp

primary
#6F2EA3
secondary
#92BF6D
accent
#DF498C
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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