#682F99#682F99

#682F99 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.166 H 305.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#682F99
RGBrgb(104, 47, 153)
HSLhsl(272, 53%, 39%)
HSVhsv(272, 69%, 60%)
CMYKcmyk(32%, 69.3%, 0%, 40%)
CIE-LABlab(32.43, 45.35, -47.90)
CIE-LCHlch(32.43, 65.97, 313.43°)
OKLaboklab(43.74% 0.0956 -0.136)
OKLCHoklch(43.74% 0.166 305.1)
XYZxyz(12.4739, 7.2761, 30.8781)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F99 #60992F
analogous
#332F99 #682F99 #992F95
triadic
#682F99 #99682F #2F9968
tetradic
#682F99 #99332F #60992F #2F9599
square
#682F99 #99332F #60992F #2F9599
split-complementary
#682F99 #95992F #2F9933
monochromatic
#28123B #48216A #682F99 #8841C5 #A56FD3

Accessibility & contrast

On white

8.55
#682F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#682F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F99
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F99#FFFFFF#000000##FFFFFF
##682F991.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#094C97
Tritanopia (blue-blind)
#5F4760
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #682f99;
/* rgb */ color: rgb(104, 47, 153);
/* oklch */ color: oklch(43.7% 0.166 305.1);
Tailwind
colors: {
  custom: {
    50: '#976cb8',
    500: '#682f99',
    950: '#000000',
  },
}
SCSS
$custom: #682f99;
$custom-light: #976cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#682f99",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 272.264,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43743,
    "c": 0.16624,
    "h": 305.1
  },
  "luminance": 0.07276
}

Semantic roles & 50–950 ramp

primary
#682F99
secondary
#8FBA69
accent
#DC4B8E
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682F99

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

Preview Lab → · Contrast checker → · Palette generator →

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