#6A2383#6A2383

#6A2383 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.160 H 315.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#6A2383
RGBrgb(106, 35, 131)
HSLhsl(284, 58%, 33%)
HSVhsv(284, 73%, 51%)
CMYKcmyk(19.1%, 73.3%, 0%, 48.6%)
CIE-LABlab(29.17, 46.27, -39.56)
CIE-LCHlch(29.17, 60.88, 319.47°)
OKLaboklab(40.98% 0.1143 -0.1113)
OKLCHoklch(40.98% 0.16 315.7)
XYZxyz(10.6410, 5.9053, 22.0476)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2383 #3C8323
analogous
#3A2383 #6A2383 #83236C
triadic
#6A2383 #836A23 #23836A
tetradic
#6A2383 #833A23 #3C8323 #236C83
square
#6A2383 #833A23 #3C8323 #236C83
split-complementary
#6A2383 #6C8323 #23833A
monochromatic
#1C0922 #431653 #6A2383 #9130B3 #AF50D0

Accessibility & contrast

On white

9.63
#6A2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6A2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2383
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2383#FFFFFF#000000##FFFFFF
##6A23831.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#224781
Tritanopia (blue-blind)
#683751
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a2383;
/* rgb */ color: rgb(106, 35, 131);
/* oklch */ color: oklch(41.0% 0.160 315.7);
Tailwind
colors: {
  custom: {
    50: '#9865a8',
    500: '#6a2383',
    950: '#000000',
  },
}
SCSS
$custom: #6a2383;
$custom-light: #9865a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2383",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 284.375,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40981,
    "c": 0.15957,
    "h": 315.7
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#6A2383
secondary
#68B44E
accent
#E1476F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6A2383

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

Preview Lab → · Contrast checker → · Palette generator →

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