#682195#682195

#682195 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.179 H 308.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#682195
RGBrgb(104, 33, 149)
HSLhsl(277, 64%, 36%)
HSVhsv(277, 78%, 58%)
CMYKcmyk(30.2%, 77.9%, 0%, 41.6%)
CIE-LABlab(29.91, 50.65, -49.53)
CIE-LCHlch(29.91, 70.85, 315.64°)
OKLaboklab(41.86% 0.1106 -0.1407)
OKLCHoklch(41.86% 0.179 308.2)
XYZxyz(11.6765, 6.2009, 29.0097)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682195 #4E9521
analogous
#2E2195 #682195 #952188
triadic
#682195 #956821 #219568
tetradic
#682195 #952E21 #4E9521 #218895
square
#682195 #952E21 #4E9521 #218895
split-complementary
#682195 #889521 #21952E
monochromatic
#220B31 #451663 #682195 #8B2CC7 #A757DA

Accessibility & contrast

On white

9.37
#682195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#682195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682195
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682195#FFFFFF#000000##FFFFFF
##6821951.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#613E5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682195;
/* rgb */ color: rgb(104, 33, 149);
/* oklch */ color: oklch(41.9% 0.179 308.2);
Tailwind
colors: {
  custom: {
    50: '#9865b5',
    500: '#682195',
    950: '#000000',
  },
}
SCSS
$custom: #682195;
$custom-light: #9865b5;
$custom-dark: #000000;
JSON
{
  "hex": "#682195",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 276.724,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41864,
    "c": 0.17896,
    "h": 308.2
  },
  "luminance": 0.06201
}

Semantic roles & 50–950 ramp

primary
#682195
secondary
#7DBE54
accent
#E74181
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682195

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

Preview Lab → · Contrast checker → · Palette generator →

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