#6D2EA3#6D2EA3

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

Color values

HEX#6D2EA3
RGBrgb(109, 46, 163)
HSLhsl(272, 56%, 41%)
HSVhsv(272, 72%, 64%)
CMYKcmyk(33.1%, 71.8%, 0%, 36.1%)
CIE-LABlab(33.67, 49.30, -51.92)
CIE-LCHlch(33.67, 71.60, 313.51°)
OKLaboklab(45.01% 0.1022 -0.1476)
OKLCHoklch(45.01% 0.18 304.7)
XYZxyz(13.8930, 7.8496, 35.4264)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EA3 #64A32E
analogous
#322EA3 #6D2EA3 #A32E9E
triadic
#6D2EA3 #A36D2E #2EA36D
tetradic
#6D2EA3 #A3322E #64A32E #2E9EA3
square
#6D2EA3 #A3322E #64A32E #2E9EA3
split-complementary
#6D2EA3 #9EA32E #2EA332
monochromatic
#2D1344 #4D2173 #6D2EA3 #8C44CA #AA74D8

Accessibility & contrast

On white

8.17
#6D2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2EA3
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EA3#FFFFFF#000000##FFFFFF
##6D2EA31.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#634965
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d2ea3;
/* rgb */ color: rgb(109, 46, 163);
/* oklch */ color: oklch(45.0% 0.180 304.7);
Tailwind
colors: {
  custom: {
    50: '#9c6cbf',
    500: '#6d2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ea3;
$custom-light: #9c6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ea3",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 272.308,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45007,
    "c": 0.17958,
    "h": 304.7
  },
  "luminance": 0.0785
}

Semantic roles & 50–950 ramp

primary
#6D2EA3
secondary
#93BF6D
accent
#DF498E
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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