#6A2083#6A2083

#6A2083 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.163 H 316.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#6A2083
RGBrgb(106, 32, 131)
HSLhsl(285, 61%, 32%)
HSVhsv(285, 76%, 51%)
CMYKcmyk(19.1%, 75.6%, 0%, 48.6%)
CIE-LABlab(28.74, 47.51, -40.26)
CIE-LCHlch(28.74, 62.27, 319.72°)
OKLaboklab(40.67% 0.1174 -0.1134)
OKLCHoklch(40.67% 0.163 316)
XYZxyz(10.5565, 5.7363, 22.0195)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2083 #398320
analogous
#382083 #6A2083 #83206B
triadic
#6A2083 #836A20 #20836A
tetradic
#6A2083 #833820 #398320 #206B83
square
#6A2083 #833820 #398320 #206B83
split-complementary
#6A2083 #6B8320 #208338
monochromatic
#1A0821 #421452 #6A2083 #922CB4 #B04AD3

Accessibility & contrast

On white

9.78
#6A2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6A2083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2083
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2083#FFFFFF#000000##FFFFFF
##6A20831.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#1F4681
Tritanopia (blue-blind)
#683550
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6a2083;
/* rgb */ color: rgb(106, 32, 131);
/* oklch */ color: oklch(40.7% 0.163 316.0);
Tailwind
colors: {
  custom: {
    50: '#9863a8',
    500: '#6a2083',
    950: '#000000',
  },
}
SCSS
$custom: #6a2083;
$custom-light: #9863a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2083",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 284.848,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40671,
    "c": 0.16324,
    "h": 316
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#6A2083
secondary
#65B649
accent
#E4446C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A2083

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

Preview Lab → · Contrast checker → · Palette generator →

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