#682F91#682F91

#682F91 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.157 H 307.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#682F91
RGBrgb(104, 47, 145)
HSLhsl(275, 51%, 38%)
HSVhsv(275, 68%, 57%)
CMYKcmyk(28.3%, 67.6%, 0%, 43.1%)
CIE-LABlab(31.85, 43.41, -43.94)
CIE-LCHlch(31.85, 61.77, 314.66°)
OKLaboklab(43.15% 0.0965 -0.1243)
OKLCHoklch(43.15% 0.157 307.8)
XYZxyz(11.8352, 7.0206, 27.5142)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F91 #58912F
analogous
#372F91 #682F91 #912F89
triadic
#682F91 #91682F #2F9168
tetradic
#682F91 #91372F #58912F #2F8991
square
#682F91 #91372F #58912F #2F8991
split-complementary
#682F91 #89912F #2F9137
monochromatic
#261135 #472063 #682F91 #893EBF #A56BCF

Accessibility & contrast

On white

8.74
#682F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682F91
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F91#FFFFFF#000000##FFFFFF
##682F911.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#1B4C8F
Tritanopia (blue-blind)
#62445C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682f91;
/* rgb */ color: rgb(104, 47, 145);
/* oklch */ color: oklch(43.1% 0.157 307.8);
Tailwind
colors: {
  custom: {
    50: '#976cb2',
    500: '#682f91',
    950: '#000000',
  },
}
SCSS
$custom: #682f91;
$custom-light: #976cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#682f91",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 274.898,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4315,
    "c": 0.15738,
    "h": 307.8
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#682F91
secondary
#87B665
accent
#DB4D88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682F91

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

Preview Lab → · Contrast checker → · Palette generator →

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