#682E93#682E93

#682E93 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.161 H 307.3°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#682E93
RGBrgb(104, 46, 147)
HSLhsl(274, 52%, 38%)
HSVhsv(274, 69%, 58%)
CMYKcmyk(29.3%, 68.7%, 0%, 42.4%)
CIE-LABlab(31.82, 44.39, -45.23)
CIE-LCHlch(31.82, 63.37, 314.47°)
OKLaboklab(43.17% 0.0974 -0.1281)
OKLCHoklch(43.17% 0.161 307.3)
XYZxyz(11.9513, 7.0038, 28.3204)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E93 #59932E
analogous
#352E93 #682E93 #932E8C
triadic
#682E93 #93682E #2E9368
tetradic
#682E93 #93352E #59932E #2E8C93
square
#682E93 #93352E #59932E #2E8C93
split-complementary
#682E93 #8C932E #2E9335
monochromatic
#261136 #471F64 #682E93 #893DC2 #A56BD1

Accessibility & contrast

On white

8.75
#682E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#682E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E93
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E93#FFFFFF#000000##FFFFFF
##682E931.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#164B91
Tritanopia (blue-blind)
#61445C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682e93;
/* rgb */ color: rgb(104, 46, 147);
/* oklch */ color: oklch(43.2% 0.161 307.3);
Tailwind
colors: {
  custom: {
    50: '#976bb3',
    500: '#682e93',
    950: '#000000',
  },
}
SCSS
$custom: #682e93;
$custom-light: #976bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#682e93",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 274.455,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43167,
    "c": 0.16096,
    "h": 307.3
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#682E93
secondary
#88B865
accent
#DC4C89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682E93

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

Preview Lab → · Contrast checker → · Palette generator →

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