#682194#682194

#682194 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.178 H 308.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#682194
RGBrgb(104, 33, 148)
HSLhsl(277, 64%, 35%)
HSVhsv(277, 78%, 58%)
CMYKcmyk(29.7%, 77.7%, 0%, 42%)
CIE-LABlab(29.84, 50.43, -49.05)
CIE-LCHlch(29.84, 70.34, 315.80°)
OKLaboklab(41.78% 0.1108 -0.1393)
OKLCHoklch(41.78% 0.178 308.5)
XYZxyz(11.5970, 6.1691, 28.5911)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682194 #4D9421
analogous
#2E2194 #682194 #942187
triadic
#682194 #946821 #219468
tetradic
#682194 #942E21 #4D9421 #218794
square
#682194 #942E21 #4D9421 #218794
split-complementary
#682194 #879421 #21942E
monochromatic
#220B30 #451662 #682194 #8B2CC6 #A756D9

Accessibility & contrast

On white

9.40
#682194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#682194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682194
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682194#FFFFFF#000000##FFFFFF
##6821941.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#613D5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682194;
/* rgb */ color: rgb(104, 33, 148);
/* oklch */ color: oklch(41.8% 0.178 308.5);
Tailwind
colors: {
  custom: {
    50: '#9865b4',
    500: '#682194',
    950: '#000000',
  },
}
SCSS
$custom: #682194;
$custom-light: #9865b4;
$custom-dark: #000000;
JSON
{
  "hex": "#682194",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 277.043,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41784,
    "c": 0.17797,
    "h": 308.5
  },
  "luminance": 0.06169
}

Semantic roles & 50–950 ramp

primary
#682194
secondary
#7CBD54
accent
#E74180
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682194

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

Preview Lab → · Contrast checker → · Palette generator →

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