#682E99#682E99

#682E99 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.168 H 305.3°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#682E99
RGBrgb(104, 46, 153)
HSLhsl(273, 54%, 39%)
HSVhsv(273, 70%, 60%)
CMYKcmyk(32%, 69.9%, 0%, 40%)
CIE-LABlab(32.25, 45.84, -48.19)
CIE-LCHlch(32.25, 66.51, 313.57°)
OKLaboklab(43.62% 0.0967 -0.1368)
OKLCHoklch(43.62% 0.168 305.3)
XYZxyz(12.4344, 7.1970, 30.8649)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E99 #5F992E
analogous
#322E99 #682E99 #992E95
triadic
#682E99 #99682E #2E9968
tetradic
#682E99 #99322E #5F992E #2E9599
square
#682E99 #99322E #5F992E #2E9599
split-complementary
#682E99 #95992E #2E9932
monochromatic
#28123B #48206A #682E99 #883FC5 #A56ED3

Accessibility & contrast

On white

8.61
#682E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#682E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E99
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E99#FFFFFF#000000##FFFFFF
##682E991.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#064C97
Tritanopia (blue-blind)
#5F4660
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #682e99;
/* rgb */ color: rgb(104, 46, 153);
/* oklch */ color: oklch(43.6% 0.168 305.3);
Tailwind
colors: {
  custom: {
    50: '#976bb8',
    500: '#682e99',
    950: '#000000',
  },
}
SCSS
$custom: #682e99;
$custom-light: #976bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#682e99",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 272.523,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43617,
    "c": 0.16756,
    "h": 305.3
  },
  "luminance": 0.07197
}

Semantic roles & 50–950 ramp

primary
#682E99
secondary
#8EBB68
accent
#DD4B8E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682E99

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

Preview Lab → · Contrast checker → · Palette generator →

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