#683271#683271

#683271 is a dark, moderate purple. Relative luminance 0.064; OKLCH L 41.5% C 0.117 H 321.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#683271
RGBrgb(104, 50, 113)
HSLhsl(291, 39%, 32%)
HSVhsv(291, 56%, 44%)
CMYKcmyk(8%, 55.8%, 0%, 55.7%)
CIE-LABlab(30.44, 34.52, -26.21)
CIE-LCHlch(30.44, 43.34, 322.79°)
OKLaboklab(41.48% 0.0921 -0.0726)
OKLCHoklch(41.48% 0.117 321.7)
XYZxyz(9.8298, 6.4170, 16.3404)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683271 #3B7132
analogous
#493271 #683271 #71325B
triadic
#683271 #716832 #327168
tetradic
#683271 #714932 #3B7132 #325B71
square
#683271 #714932 #3B7132 #325B71
split-complementary
#683271 #5B7132 #327149
monochromatic
#1A0C1C #411F47 #683271 #8F459B #AE63BA

Accessibility & contrast

On white

9.20
#683271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#683271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683271
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683271#FFFFFF#000000##FFFFFF
##6832711.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#394A6F
Tritanopia (blue-blind)
#693B4C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #683271;
/* rgb */ color: rgb(104, 50, 113);
/* oklch */ color: oklch(41.5% 0.117 321.7);
Tailwind
colors: {
  custom: {
    50: '#956c9a',
    500: '#683271',
    950: '#000000',
  },
}
SCSS
$custom: #683271;
$custom-light: #956c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#683271",
  "rgb": {
    "r": 104,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 291.429,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4148,
    "c": 0.11724,
    "h": 321.7
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#683271
secondary
#67A25D
accent
#CF596A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #683271

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

Preview Lab → · Contrast checker → · Palette generator →

#683271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva