#683182#683182

#683182 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.4% C 0.138 H 313.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#683182
RGBrgb(104, 49, 130)
HSLhsl(281, 45%, 35%)
HSVhsv(281, 62%, 51%)
CMYKcmyk(20%, 62.3%, 0%, 49%)
CIE-LABlab(31.23, 38.85, -35.65)
CIE-LCHlch(31.23, 52.72, 317.46°)
OKLaboklab(42.38% 0.0946 -0.1)
OKLCHoklch(42.38% 0.138 313.4)
XYZxyz(10.8358, 6.7517, 21.8472)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683182 #4B8231
analogous
#403182 #683182 #823173
triadic
#683182 #826831 #318268
tetradic
#683182 #824031 #4B8231 #317382
square
#683182 #824031 #4B8231 #317382
split-complementary
#683182 #738231 #318240
monochromatic
#210F29 #442056 #683182 #8C42AE #A868C6

Accessibility & contrast

On white

8.94
#683182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#683182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683182
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683182#FFFFFF#000000##FFFFFF
##6831821.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154785
Deuteranopia (green-blind)
#2D4B80
Tritanopia (blue-blind)
#664054
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #683182;
/* rgb */ color: rgb(104, 49, 130);
/* oklch */ color: oklch(42.4% 0.138 313.4);
Tailwind
colors: {
  custom: {
    50: '#966ca7',
    500: '#683182',
    950: '#000000',
  },
}
SCSS
$custom: #683182;
$custom-light: #966ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#683182",
  "rgb": {
    "r": 104,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 280.741,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42383,
    "c": 0.13766,
    "h": 313.4
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#683182
secondary
#7AAD62
accent
#D5537D
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #683182

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

Preview Lab → · Contrast checker → · Palette generator →

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