#682F92#682F92

#682F92 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.158 H 307.5°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#682F92
RGBrgb(104, 47, 146)
HSLhsl(275, 51%, 38%)
HSVhsv(275, 68%, 57%)
CMYKcmyk(28.8%, 67.8%, 0%, 42.7%)
CIE-LABlab(31.92, 43.65, -44.44)
CIE-LCHlch(31.92, 62.29, 314.49°)
OKLaboklab(43.22% 0.0964 -0.1258)
OKLCHoklch(43.22% 0.158 307.5)
XYZxyz(11.9127, 7.0516, 27.9221)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F92 #59922F
analogous
#362F92 #682F92 #922F8A
triadic
#682F92 #92682F #2F9268
tetradic
#682F92 #92362F #59922F #2F8A92
square
#682F92 #92362F #59922F #2F8A92
split-complementary
#682F92 #8A922F #2F9236
monochromatic
#261135 #472064 #682F92 #893EC0 #A56CD0

Accessibility & contrast

On white

8.71
#682F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#682F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F92
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F92#FFFFFF#000000##FFFFFF
##682F921.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#194C90
Tritanopia (blue-blind)
#61445C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682f92;
/* rgb */ color: rgb(104, 47, 146);
/* oklch */ color: oklch(43.2% 0.158 307.5);
Tailwind
colors: {
  custom: {
    50: '#976cb3',
    500: '#682f92',
    950: '#000000',
  },
}
SCSS
$custom: #682f92;
$custom-light: #976cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#682f92",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 274.545,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43222,
    "c": 0.15848,
    "h": 307.5
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#682F92
secondary
#88B766
accent
#DB4D89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682F92

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

Preview Lab → · Contrast checker → · Palette generator →

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