#682494#682494

#682494 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.175 H 308.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#682494
RGBrgb(104, 36, 148)
HSLhsl(276, 61%, 36%)
HSVhsv(276, 76%, 58%)
CMYKcmyk(29.7%, 75.7%, 0%, 42%)
CIE-LABlab(30.26, 49.21, -48.35)
CIE-LCHlch(30.26, 68.99, 315.50°)
OKLaboklab(42.09% 0.108 -0.1372)
OKLCHoklch(42.09% 0.175 308.2)
XYZxyz(11.6840, 6.3431, 28.6201)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682494 #509424
analogous
#302494 #682494 #942488
triadic
#682494 #946824 #249468
tetradic
#682494 #943024 #509424 #248894
square
#682494 #943024 #509424 #248894
split-complementary
#682494 #889424 #249430
monochromatic
#230C32 #451863 #682494 #8B30C5 #A65BD7

Accessibility & contrast

On white

9.26
#682494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#682494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682494
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682494#FFFFFF#000000##FFFFFF
##6824941.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682494;
/* rgb */ color: rgb(104, 36, 148);
/* oklch */ color: oklch(42.1% 0.175 308.2);
Tailwind
colors: {
  custom: {
    50: '#9866b4',
    500: '#682494',
    950: '#000000',
  },
}
SCSS
$custom: #682494;
$custom-light: #9866b4;
$custom-dark: #000000;
JSON
{
  "hex": "#682494",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 276.429,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42085,
    "c": 0.17463,
    "h": 308.2
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#682494
secondary
#7FBC58
accent
#E44483
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682494

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

Preview Lab → · Contrast checker → · Palette generator →

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