#682C90#682C90

#682C90 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.160 H 308.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#682C90
RGBrgb(104, 44, 144)
HSLhsl(276, 53%, 37%)
HSVhsv(276, 69%, 56%)
CMYKcmyk(27.8%, 69.4%, 0%, 43.5%)
CIE-LABlab(31.25, 44.65, -44.30)
CIE-LCHlch(31.25, 62.90, 315.23°)
OKLaboklab(42.69% 0.1001 -0.1254)
OKLCHoklch(42.69% 0.16 308.6)
XYZxyz(11.6426, 6.7582, 27.0713)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682C90 #54902C
analogous
#362C90 #682C90 #902C86
triadic
#682C90 #90682C #2C9068
tetradic
#682C90 #90362C #54902C #2C8690
square
#682C90 #90362C #54902C #2C8690
split-complementary
#682C90 #86902C #2C9036
monochromatic
#240F32 #461E61 #682C90 #8A3ABF #A666D0

Accessibility & contrast

On white

8.93
#682C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#682C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682C90
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682C90#FFFFFF#000000##FFFFFF
##682C901.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#184A8E
Tritanopia (blue-blind)
#62425A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682c90;
/* rgb */ color: rgb(104, 44, 144);
/* oklch */ color: oklch(42.7% 0.160 308.6);
Tailwind
colors: {
  custom: {
    50: '#976ab1',
    500: '#682c90',
    950: '#000000',
  },
}
SCSS
$custom: #682c90;
$custom-light: #976ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#682c90",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 276,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42694,
    "c": 0.16042,
    "h": 308.6
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#682C90
secondary
#83B761
accent
#DD4B85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682C90

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

Preview Lab → · Contrast checker → · Palette generator →

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