#682F97#682F97

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

Color values

HEX#682F97
RGBrgb(104, 47, 151)
HSLhsl(273, 53%, 39%)
HSVhsv(273, 69%, 59%)
CMYKcmyk(31.1%, 68.9%, 0%, 40.8%)
CIE-LABlab(32.28, 44.86, -46.92)
CIE-LCHlch(32.28, 64.92, 313.72°)
OKLaboklab(43.59% 0.0958 -0.1331)
OKLCHoklch(43.59% 0.164 305.8)
XYZxyz(12.3101, 7.2106, 30.0154)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F97 #5E972F
analogous
#342F97 #682F97 #972F92
triadic
#682F97 #97682F #2F9768
tetradic
#682F97 #97342F #5E972F #2F9297
square
#682F97 #97342F #5E972F #2F9297
split-complementary
#682F97 #92972F #2F9734
monochromatic
#28123A #482068 #682F97 #8840C3 #A56ED2

Accessibility & contrast

On white

8.60
#682F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682F97
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F97#FFFFFF#000000##FFFFFF
##682F971.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#0F4C95
Tritanopia (blue-blind)
#60465F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #682f97;
/* rgb */ color: rgb(104, 47, 151);
/* oklch */ color: oklch(43.6% 0.164 305.8);
Tailwind
colors: {
  custom: {
    50: '#976cb6',
    500: '#682f97',
    950: '#000000',
  },
}
SCSS
$custom: #682f97;
$custom-light: #976cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#682f97",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 272.885,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43592,
    "c": 0.16401,
    "h": 305.8
  },
  "luminance": 0.0721
}

Semantic roles & 50–950 ramp

primary
#682F97
secondary
#8DB968
accent
#DC4C8D
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682F97

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

Preview Lab → · Contrast checker → · Palette generator →

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