#682095#682095

#682095 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.180 H 308.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#682095
RGBrgb(104, 32, 149)
HSLhsl(277, 65%, 35%)
HSVhsv(277, 79%, 58%)
CMYKcmyk(30.2%, 78.5%, 0%, 41.6%)
CIE-LABlab(29.78, 51.04, -49.75)
CIE-LCHlch(29.78, 71.28, 315.73°)
OKLaboklab(41.77% 0.1115 -0.1413)
OKLCHoklch(41.77% 0.18 308.3)
XYZxyz(11.6491, 6.1462, 29.0006)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682095 #4D9520
analogous
#2D2095 #682095 #952087
triadic
#682095 #956820 #209568
tetradic
#682095 #952D20 #4D9520 #208795
square
#682095 #952D20 #4D9520 #208795
split-complementary
#682095 #879520 #20952D
monochromatic
#220A30 #451563 #682095 #8B2BC7 #A755DA

Accessibility & contrast

On white

9.42
#682095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682095
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682095#FFFFFF#000000##FFFFFF
##6820951.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682095;
/* rgb */ color: rgb(104, 32, 149);
/* oklch */ color: oklch(41.8% 0.180 308.3);
Tailwind
colors: {
  custom: {
    50: '#9864b5',
    500: '#682095',
    950: '#000000',
  },
}
SCSS
$custom: #682095;
$custom-light: #9864b5;
$custom-dark: #000000;
JSON
{
  "hex": "#682095",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 276.923,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41769,
    "c": 0.18001,
    "h": 308.3
  },
  "luminance": 0.06146
}

Semantic roles & 50–950 ramp

primary
#682095
secondary
#7CBE53
accent
#E84081
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682095

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

Preview Lab → · Contrast checker → · Palette generator →

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