#6B2EA9#6B2EA9

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

Color values

HEX#6B2EA9
RGBrgb(107, 46, 169)
HSLhsl(270, 57%, 42%)
HSVhsv(270, 73%, 66%)
CMYKcmyk(36.7%, 72.8%, 0%, 33.7%)
CIE-LABlab(33.87, 50.37, -55.22)
CIE-LCHlch(33.87, 74.74, 312.37°)
OKLaboklab(45.24% 0.0983 -0.1574)
OKLCHoklch(45.24% 0.186 302)
XYZxyz(14.2001, 7.9443, 38.3137)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2EA9 #6CA92E
analogous
#2E2FA9 #6B2EA9 #A92EA9
triadic
#6B2EA9 #A96B2E #2EA96B
tetradic
#6B2EA9 #A92E2F #6CA92E #2EA9A9
square
#6B2EA9 #A92E2F #6CA92E #2EA9A9
split-complementary
#6B2EA9 #A9A92E #2FA92E
monochromatic
#2E1449 #4D2179 #6B2EA9 #8A47CD #A877DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B2EA9#FFFFFF#000000##FFFFFF
##6B2EA91.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)
#004FAD
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#5E4C69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b2ea9;
/* rgb */ color: rgb(107, 46, 169);
/* oklch */ color: oklch(45.2% 0.186 302.0);
Tailwind
colors: {
  custom: {
    50: '#9b6cc3',
    500: '#6b2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #6b2ea9;
$custom-light: #9b6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2ea9",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 269.756,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.18558,
    "h": 302
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#6B2EA9
secondary
#9AC271
accent
#E04795
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6B2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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