#6B2CA9#6B2CA9

#6B2CA9 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.188 H 302.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#6B2CA9
RGBrgb(107, 44, 169)
HSLhsl(270, 59%, 42%)
HSVhsv(270, 74%, 66%)
CMYKcmyk(36.7%, 74%, 0%, 33.7%)
CIE-LABlab(33.55, 51.28, -55.74)
CIE-LCHlch(33.55, 75.74, 312.61°)
OKLaboklab(45.01% 0.1003 -0.1589)
OKLCHoklch(45.01% 0.188 302.3)
XYZxyz(14.1238, 7.7917, 38.2883)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CA9 #6AA92C
analogous
#2D2CA9 #6B2CA9 #A92CA9
triadic
#6B2CA9 #A96B2C #2CA96B
tetradic
#6B2CA9 #A92D2C #6AA92C #2CA9A9
square
#6B2CA9 #A92D2C #6AA92C #2CA9A9
split-complementary
#6B2CA9 #A9A92C #2CA92D
monochromatic
#2E1348 #4C1F78 #6B2CA9 #8A44CE #A874DB

Accessibility & contrast

On white

8.21
#6B2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6B2CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2CA9
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2CA9#FFFFFF#000000##FFFFFF
##6B2CA91.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#5E4B68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6b2ca9;
/* rgb */ color: rgb(107, 44, 169);
/* oklch */ color: oklch(45.0% 0.188 302.3);
Tailwind
colors: {
  custom: {
    50: '#9b6bc3',
    500: '#6b2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #6b2ca9;
$custom-light: #9b6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2ca9",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 270.24,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45008,
    "c": 0.18791,
    "h": 302.3
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#6B2CA9
secondary
#98C36E
accent
#E24693
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6B2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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