#682383#682383

#682383 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.159 H 314.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#682383
RGBrgb(104, 35, 131)
HSLhsl(283, 58%, 33%)
HSVhsv(283, 73%, 51%)
CMYKcmyk(20.6%, 73.3%, 0%, 48.6%)
CIE-LABlab(28.86, 45.83, -40.08)
CIE-LCHlch(28.86, 60.88, 318.83°)
OKLaboklab(40.7% 0.1116 -0.1129)
OKLCHoklch(40.7% 0.159 314.7)
XYZxyz(10.4060, 5.7842, 22.0366)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682383 #3E8323
analogous
#382383 #682383 #83236E
triadic
#682383 #836823 #238368
tetradic
#682383 #833823 #3E8323 #236E83
square
#682383 #833823 #3E8323 #236E83
split-complementary
#682383 #6E8323 #238338
monochromatic
#1B0922 #421653 #682383 #8E30B3 #AC50D0

Accessibility & contrast

On white

9.74
#682383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#682383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682383
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682383#FFFFFF#000000##FFFFFF
##6823831.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#1F4681
Tritanopia (blue-blind)
#663751
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #682383;
/* rgb */ color: rgb(104, 35, 131);
/* oklch */ color: oklch(40.7% 0.159 314.7);
Tailwind
colors: {
  custom: {
    50: '#9765a8',
    500: '#682383',
    950: '#000000',
  },
}
SCSS
$custom: #682383;
$custom-light: #9765a8;
$custom-dark: #000000;
JSON
{
  "hex": "#682383",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 283.125,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40695,
    "c": 0.15878,
    "h": 314.7
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#682383
secondary
#6BB44E
accent
#E14772
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #682383

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

Preview Lab → · Contrast checker → · Palette generator →

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