#682D94#682D94

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

Color values

HEX#682D94
RGBrgb(104, 45, 148)
HSLhsl(274, 53%, 38%)
HSVhsv(274, 70%, 58%)
CMYKcmyk(29.7%, 69.6%, 0%, 42%)
CIE-LABlab(31.71, 45.12, -46.01)
CIE-LCHlch(31.71, 64.44, 314.44°)
OKLaboklab(43.11% 0.0985 -0.1304)
OKLCHoklch(43.11% 0.163 307.1)
XYZxyz(11.9915, 6.9581, 28.7226)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682D94 #59942D
analogous
#342D94 #682D94 #942D8C
triadic
#682D94 #94682D #2D9468
tetradic
#682D94 #94342D #59942D #2D8C94
square
#682D94 #94342D #59942D #2D8C94
split-complementary
#682D94 #8C942D #2D9434
monochromatic
#261036 #471F65 #682D94 #893BC3 #A56AD2

Accessibility & contrast

On white

8.78
#682D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682D94
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682D94#FFFFFF#000000##FFFFFF
##682D941.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682d94;
/* rgb */ color: rgb(104, 45, 148);
/* oklch */ color: oklch(43.1% 0.163 307.1);
Tailwind
colors: {
  custom: {
    50: '#976bb4',
    500: '#682d94',
    950: '#000000',
  },
}
SCSS
$custom: #682d94;
$custom-light: #976bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#682d94",
  "rgb": {
    "r": 104,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 274.369,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43115,
    "c": 0.16341,
    "h": 307.1
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#682D94
secondary
#88B864
accent
#DD4B89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682D94

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

Preview Lab → · Contrast checker → · Palette generator →

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