#6B2EA3#6B2EA3

#6B2EA3 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.179 H 303.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#6B2EA3
RGBrgb(107, 46, 163)
HSLhsl(271, 56%, 41%)
HSVhsv(271, 72%, 64%)
CMYKcmyk(34.4%, 71.8%, 0%, 36.1%)
CIE-LABlab(33.40, 48.90, -52.37)
CIE-LCHlch(33.40, 71.65, 313.04°)
OKLaboklab(44.76% 0.0994 -0.149)
OKLCHoklch(44.76% 0.179 303.7)
XYZxyz(13.6497, 7.7242, 35.4150)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2EA3 #66A32E
analogous
#302EA3 #6B2EA3 #A32EA0
triadic
#6B2EA3 #A36B2E #2EA36B
tetradic
#6B2EA3 #A3302E #66A32E #2EA0A3
square
#6B2EA3 #A3302E #66A32E #2EA0A3
split-complementary
#6B2EA3 #A0A32E #2EA330
monochromatic
#2C1344 #4C2173 #6B2EA3 #8A44CA #A874D8

Accessibility & contrast

On white

8.25
#6B2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6B2EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2EA3
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2EA3#FFFFFF#000000##FFFFFF
##6B2EA31.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#604A65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6b2ea3;
/* rgb */ color: rgb(107, 46, 163);
/* oklch */ color: oklch(44.8% 0.179 303.7);
Tailwind
colors: {
  custom: {
    50: '#9a6cbf',
    500: '#6b2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #6b2ea3;
$custom-light: #9a6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2ea3",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 271.282,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4476,
    "c": 0.17913,
    "h": 303.7
  },
  "luminance": 0.07724
}

Semantic roles & 50–950 ramp

primary
#6B2EA3
secondary
#95BF6D
accent
#DF4991
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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