#682E95#682E95

#682E95 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.163 H 306.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#682E95
RGBrgb(104, 46, 149)
HSLhsl(274, 53%, 38%)
HSVhsv(274, 69%, 58%)
CMYKcmyk(30.2%, 69.1%, 0%, 41.6%)
CIE-LABlab(31.96, 44.87, -46.22)
CIE-LCHlch(31.96, 64.42, 314.15°)
OKLaboklab(43.32% 0.0972 -0.131)
OKLCHoklch(43.32% 0.163 306.6)
XYZxyz(12.1096, 7.0671, 29.1541)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E95 #5B952E
analogous
#342E95 #682E95 #952E8F
triadic
#682E95 #95682E #2E9568
tetradic
#682E95 #95342E #5B952E #2E8F95
square
#682E95 #95342E #5B952E #2E8F95
split-complementary
#682E95 #8F952E #2E9534
monochromatic
#271137 #472066 #682E95 #893DC3 #A56CD2

Accessibility & contrast

On white

8.70
#682E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#682E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E95
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E95#FFFFFF#000000##FFFFFF
##682E951.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#124C93
Tritanopia (blue-blind)
#60455E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682e95;
/* rgb */ color: rgb(104, 46, 149);
/* oklch */ color: oklch(43.3% 0.163 306.6);
Tailwind
colors: {
  custom: {
    50: '#976bb5',
    500: '#682e95',
    950: '#000000',
  },
}
SCSS
$custom: #682e95;
$custom-light: #976bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#682e95",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 273.786,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43316,
    "c": 0.16317,
    "h": 306.6
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#682E95
secondary
#8AB966
accent
#DC4C8B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682E95

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

Preview Lab → · Contrast checker → · Palette generator →

#682E95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva