#682E91#682E91

#682E91 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.159 H 308.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#682E91
RGBrgb(104, 46, 145)
HSLhsl(275, 52%, 37%)
HSVhsv(275, 68%, 57%)
CMYKcmyk(28.3%, 68.3%, 0%, 43.1%)
CIE-LABlab(31.67, 43.91, -44.23)
CIE-LCHlch(31.67, 62.32, 314.79°)
OKLaboklab(43.02% 0.0977 -0.1252)
OKLCHoklch(43.02% 0.159 308)
XYZxyz(11.7957, 6.9416, 27.5010)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E91 #57912E
analogous
#372E91 #682E91 #912E88
triadic
#682E91 #91682E #2E9168
tetradic
#682E91 #91372E #57912E #2E8891
square
#682E91 #91372E #57912E #2E8891
split-complementary
#682E91 #88912E #2E9137
monochromatic
#251134 #471F63 #682E91 #893DBF #A56AD0

Accessibility & contrast

On white

8.79
#682E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#682E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E91
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E91#FFFFFF#000000##FFFFFF
##682E911.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#194B8F
Tritanopia (blue-blind)
#62435B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682e91;
/* rgb */ color: rgb(104, 46, 145);
/* oklch */ color: oklch(43.0% 0.159 308.0);
Tailwind
colors: {
  custom: {
    50: '#976bb2',
    500: '#682e91',
    950: '#000000',
  },
}
SCSS
$custom: #682e91;
$custom-light: #976bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#682e91",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 275.152,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4302,
    "c": 0.15877,
    "h": 308
  },
  "luminance": 0.06941
}

Semantic roles & 50–950 ramp

primary
#682E91
secondary
#86B764
accent
#DB4D88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682E91

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

Preview Lab → · Contrast checker → · Palette generator →

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