#682997#682997

#682997 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.172 H 306.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#682997
RGBrgb(104, 41, 151)
HSLhsl(274, 57%, 38%)
HSVhsv(274, 73%, 59%)
CMYKcmyk(31.1%, 72.8%, 0%, 40.8%)
CIE-LABlab(31.26, 47.72, -48.57)
CIE-LCHlch(31.26, 68.09, 314.49°)
OKLaboklab(42.86% 0.1024 -0.1379)
OKLCHoklch(42.86% 0.172 306.6)
XYZxyz(12.0866, 6.7634, 29.9409)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682997 #589729
analogous
#312997 #682997 #97298F
triadic
#682997 #976829 #299768
tetradic
#682997 #973129 #589729 #298F97
square
#682997 #973129 #589729 #298F97
split-complementary
#682997 #8F9729 #299731
monochromatic
#260F37 #471C67 #682997 #8936C7 #A565D5

Accessibility & contrast

On white

8.93
#682997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#682997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682997
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682997#FFFFFF#000000##FFFFFF
##6829971.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#60435D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682997;
/* rgb */ color: rgb(104, 41, 151);
/* oklch */ color: oklch(42.9% 0.172 306.6);
Tailwind
colors: {
  custom: {
    50: '#9869b6',
    500: '#682997',
    950: '#000000',
  },
}
SCSS
$custom: #682997;
$custom-light: #9869b6;
$custom-dark: #000000;
JSON
{
  "hex": "#682997",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 274.364,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42865,
    "c": 0.17177,
    "h": 306.6
  },
  "luminance": 0.06763
}

Semantic roles & 50–950 ramp

primary
#682997
secondary
#87BB61
accent
#E14789
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682997

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

Preview Lab → · Contrast checker → · Palette generator →

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