#682D93#682D93

#682D93 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.162 H 307.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#682D93
RGBrgb(104, 45, 147)
HSLhsl(275, 53%, 38%)
HSVhsv(275, 69%, 58%)
CMYKcmyk(29.3%, 69.4%, 0%, 42.4%)
CIE-LABlab(31.64, 44.88, -45.51)
CIE-LCHlch(31.64, 63.92, 314.60°)
OKLaboklab(43.04% 0.0986 -0.1289)
OKLCHoklch(43.04% 0.162 307.4)
XYZxyz(11.9127, 6.9266, 28.3075)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682D93 #58932D
analogous
#352D93 #682D93 #932D8B
triadic
#682D93 #93682D #2D9368
tetradic
#682D93 #93352D #58932D #2D8B93
square
#682D93 #93352D #58932D #2D8B93
split-complementary
#682D93 #8B932D #2D9335
monochromatic
#261035 #471F64 #682D93 #893BC2 #A569D1

Accessibility & contrast

On white

8.80
#682D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#682D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682D93
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682D93#FFFFFF#000000##FFFFFF
##682D931.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#144B91
Tritanopia (blue-blind)
#61435C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682d93;
/* rgb */ color: rgb(104, 45, 147);
/* oklch */ color: oklch(43.0% 0.162 307.4);
Tailwind
colors: {
  custom: {
    50: '#976bb3',
    500: '#682d93',
    950: '#000000',
  },
}
SCSS
$custom: #682d93;
$custom-light: #976bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#682d93",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 274.706,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43041,
    "c": 0.16232,
    "h": 307.4
  },
  "luminance": 0.06926
}

Semantic roles & 50–950 ramp

primary
#682D93
secondary
#87B864
accent
#DD4B89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682D93

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

Preview Lab → · Contrast checker → · Palette generator →

#682D93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva