#6A2C83#6A2C83

#6A2C83 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.0% C 0.147 H 314.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#6A2C83
RGBrgb(106, 44, 131)
HSLhsl(283, 50%, 34%)
HSVhsv(283, 66%, 51%)
CMYKcmyk(19.1%, 66.4%, 0%, 48.6%)
CIE-LABlab(30.65, 42.14, -37.19)
CIE-LCHlch(30.65, 56.20, 318.57°)
OKLaboklab(42.04% 0.1037 -0.1045)
OKLCHoklch(42.04% 0.147 314.8)
XYZxyz(10.9406, 6.5046, 22.1475)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2C83 #45832C
analogous
#3F2C83 #6A2C83 #832C71
triadic
#6A2C83 #836A2C #2C836A
tetradic
#6A2C83 #833F2C #45832C #2C7183
square
#6A2C83 #833F2C #45832C #2C7183
split-complementary
#6A2C83 #71832C #2C833F
monochromatic
#200D27 #451D55 #6A2C83 #8F3BB1 #AB60CA

Accessibility & contrast

On white

9.13
#6A2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6A2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2C83
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2C83#FFFFFF#000000##FFFFFF
##6A2C831.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064586
Deuteranopia (green-blind)
#2A4A81
Tritanopia (blue-blind)
#683C53
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a2c83;
/* rgb */ color: rgb(106, 44, 131);
/* oklch */ color: oklch(42.0% 0.147 314.8);
Tailwind
colors: {
  custom: {
    50: '#976aa7',
    500: '#6a2c83',
    950: '#000000',
  },
}
SCSS
$custom: #6a2c83;
$custom-light: #976aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2c83",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 282.759,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42042,
    "c": 0.14722,
    "h": 314.8
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

primary
#6A2C83
secondary
#73B05B
accent
#D94F76
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6A2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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