#682893#682893

#682893 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.169 H 308.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#682893
RGBrgb(104, 40, 147)
HSLhsl(276, 57%, 37%)
HSVhsv(276, 73%, 58%)
CMYKcmyk(29.3%, 72.8%, 0%, 42.4%)
CIE-LABlab(30.80, 47.23, -46.87)
CIE-LCHlch(30.80, 66.54, 315.22°)
OKLaboklab(42.44% 0.1041 -0.1329)
OKLCHoklch(42.44% 0.169 308.1)
XYZxyz(11.7331, 6.5674, 28.2476)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682893 #539328
analogous
#332893 #682893 #932889
triadic
#682893 #936828 #289368
tetradic
#682893 #933328 #539328 #288993
square
#682893 #933328 #539328 #288993
split-complementary
#682893 #899328 #289333
monochromatic
#240E33 #461B63 #682893 #8A35C3 #A661D4

Accessibility & contrast

On white

9.08
#682893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#682893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682893
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682893#FFFFFF#000000##FFFFFF
##6828931.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#094991
Tritanopia (blue-blind)
#61405B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682893;
/* rgb */ color: rgb(104, 40, 147);
/* oklch */ color: oklch(42.4% 0.169 308.1);
Tailwind
colors: {
  custom: {
    50: '#9768b3',
    500: '#682893',
    950: '#000000',
  },
}
SCSS
$custom: #682893;
$custom-light: #9768b3;
$custom-dark: #000000;
JSON
{
  "hex": "#682893",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 275.888,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42443,
    "c": 0.16881,
    "h": 308.1
  },
  "luminance": 0.06567
}

Semantic roles & 50–950 ramp

primary
#682893
secondary
#82BA5D
accent
#E04785
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682893

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

Preview Lab → · Contrast checker → · Palette generator →

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