#682394#682394

#682394 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.176 H 308.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#682394
RGBrgb(104, 35, 148)
HSLhsl(277, 62%, 36%)
HSVhsv(277, 76%, 58%)
CMYKcmyk(29.7%, 76.4%, 0%, 42%)
CIE-LABlab(30.12, 49.62, -48.59)
CIE-LCHlch(30.12, 69.45, 315.60°)
OKLaboklab(41.98% 0.1089 -0.1379)
OKLCHoklch(41.98% 0.176 308.3)
XYZxyz(11.6541, 6.2834, 28.6101)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682394 #4F9423
analogous
#2F2394 #682394 #942387
triadic
#682394 #946823 #239468
tetradic
#682394 #942F23 #4F9423 #238794
square
#682394 #942F23 #4F9423 #238794
split-complementary
#682394 #879423 #23942F
monochromatic
#220C31 #451763 #682394 #8B2FC5 #A75AD8

Accessibility & contrast

On white

9.31
#682394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#682394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682394
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682394#FFFFFF#000000##FFFFFF
##6823941.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#613E5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682394;
/* rgb */ color: rgb(104, 35, 148);
/* oklch */ color: oklch(42.0% 0.176 308.3);
Tailwind
colors: {
  custom: {
    50: '#9865b4',
    500: '#682394',
    950: '#000000',
  },
}
SCSS
$custom: #682394;
$custom-light: #9865b4;
$custom-dark: #000000;
JSON
{
  "hex": "#682394",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 276.637,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.17576,
    "h": 308.3
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#682394
secondary
#7EBC57
accent
#E54382
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682394

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

Preview Lab → · Contrast checker → · Palette generator →

#682394 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva