#682E94#682E94

#682E94 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.162 H 306.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#682E94
RGBrgb(104, 46, 148)
HSLhsl(274, 53%, 38%)
HSVhsv(274, 69%, 58%)
CMYKcmyk(29.7%, 68.9%, 0%, 42%)
CIE-LABlab(31.89, 44.63, -45.72)
CIE-LCHlch(31.89, 63.90, 314.31°)
OKLaboklab(43.24% 0.0973 -0.1296)
OKLCHoklch(43.24% 0.162 306.9)
XYZxyz(12.0301, 7.0353, 28.7354)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E94 #5A942E
analogous
#352E94 #682E94 #942E8D
triadic
#682E94 #94682E #2E9468
tetradic
#682E94 #94352E #5A942E #2E8D94
square
#682E94 #94352E #5A942E #2E8D94
split-complementary
#682E94 #8D942E #2E9435
monochromatic
#261137 #471F65 #682E94 #893DC3 #A56BD1

Accessibility & contrast

On white

8.72
#682E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682E94
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E94#FFFFFF#000000##FFFFFF
##682E941.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#144B92
Tritanopia (blue-blind)
#61445D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682e94;
/* rgb */ color: rgb(104, 46, 148);
/* oklch */ color: oklch(43.2% 0.162 306.9);
Tailwind
colors: {
  custom: {
    50: '#976bb4',
    500: '#682e94',
    950: '#000000',
  },
}
SCSS
$custom: #682e94;
$custom-light: #976bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#682e94",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 274.118,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43241,
    "c": 0.16206,
    "h": 306.9
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

primary
#682E94
secondary
#89B866
accent
#DC4C8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682E94

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

Preview Lab → · Contrast checker → · Palette generator →

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