#682192#682192

#682192 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.176 H 309.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#682192
RGBrgb(104, 33, 146)
HSLhsl(278, 63%, 35%)
HSVhsv(278, 77%, 57%)
CMYKcmyk(28.8%, 77.4%, 0%, 42.7%)
CIE-LABlab(29.68, 49.98, -48.07)
CIE-LCHlch(29.68, 69.34, 316.11°)
OKLaboklab(41.63% 0.1112 -0.1364)
OKLCHoklch(41.63% 0.176 309.2)
XYZxyz(11.4400, 6.1063, 27.7645)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682192 #4B9221
analogous
#302192 #682192 #922183
triadic
#682192 #926821 #219268
tetradic
#682192 #923021 #4B9221 #218392
square
#682192 #923021 #4B9221 #218392
split-complementary
#682192 #839221 #219230
monochromatic
#210A2E #441660 #682192 #8C2CC4 #A855D9

Accessibility & contrast

On white

9.45
#682192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#682192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682192
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682192#FFFFFF#000000##FFFFFF
##6821921.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#623C58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682192;
/* rgb */ color: rgb(104, 33, 146);
/* oklch */ color: oklch(41.6% 0.176 309.2);
Tailwind
colors: {
  custom: {
    50: '#9864b3',
    500: '#682192',
    950: '#000000',
  },
}
SCSS
$custom: #682192;
$custom-light: #9864b3;
$custom-dark: #000000;
JSON
{
  "hex": "#682192",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 277.699,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41625,
    "c": 0.176,
    "h": 309.2
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#682192
secondary
#7ABC53
accent
#E6427F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682192

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

Preview Lab → · Contrast checker → · Palette generator →

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