#682F93#682F93

#682F93 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.160 H 307.1°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#682F93
RGBrgb(104, 47, 147)
HSLhsl(274, 52%, 38%)
HSVhsv(274, 68%, 58%)
CMYKcmyk(29.3%, 68%, 0%, 42.4%)
CIE-LABlab(31.99, 43.90, -44.94)
CIE-LCHlch(31.99, 62.82, 314.33°)
OKLaboklab(43.3% 0.0963 -0.1273)
OKLCHoklch(43.3% 0.16 307.1)
XYZxyz(11.9908, 7.0828, 28.3335)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F93 #5A932F
analogous
#362F93 #682F93 #932F8C
triadic
#682F93 #93682F #2F9368
tetradic
#682F93 #93362F #5A932F #2F8C93
square
#682F93 #93362F #5A932F #2F8C93
split-complementary
#682F93 #8C932F #2F9336
monochromatic
#261136 #472065 #682F93 #893EC1 #A56CD0

Accessibility & contrast

On white

8.69
#682F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#682F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F93
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F93#FFFFFF#000000##FFFFFF
##682F931.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#174C91
Tritanopia (blue-blind)
#61455D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682f93;
/* rgb */ color: rgb(104, 47, 147);
/* oklch */ color: oklch(43.3% 0.160 307.1);
Tailwind
colors: {
  custom: {
    50: '#976cb3',
    500: '#682f93',
    950: '#000000',
  },
}
SCSS
$custom: #682f93;
$custom-light: #976cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#682f93",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 274.2,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43296,
    "c": 0.15959,
    "h": 307.1
  },
  "luminance": 0.07083
}

Semantic roles & 50–950 ramp

primary
#682F93
secondary
#89B766
accent
#DB4D8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682F93

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

Preview Lab → · Contrast checker → · Palette generator →

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