#682497#682497

#682497 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.178 H 307.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#682497
RGBrgb(104, 36, 151)
HSLhsl(275, 61%, 37%)
HSVhsv(275, 76%, 59%)
CMYKcmyk(31.1%, 76.2%, 0%, 40.8%)
CIE-LABlab(30.49, 49.90, -49.81)
CIE-LCHlch(30.49, 70.51, 315.05°)
OKLaboklab(42.32% 0.1074 -0.1415)
OKLCHoklch(42.32% 0.178 307.2)
XYZxyz(11.9245, 6.4393, 29.8869)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682497 #539724
analogous
#2F2497 #682497 #97248D
triadic
#682497 #976824 #249768
tetradic
#682497 #972F24 #539724 #248D97
square
#682497 #972F24 #539724 #248D97
split-complementary
#682497 #8D9724 #24972F
monochromatic
#240C34 #461866 #682497 #8A30C8 #A65DD8

Accessibility & contrast

On white

9.18
#682497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#682497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682497
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682497#FFFFFF#000000##FFFFFF
##6824971.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#60405C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682497;
/* rgb */ color: rgb(104, 36, 151);
/* oklch */ color: oklch(42.3% 0.178 307.2);
Tailwind
colors: {
  custom: {
    50: '#9866b6',
    500: '#682497',
    950: '#000000',
  },
}
SCSS
$custom: #682497;
$custom-light: #9866b6;
$custom-dark: #000000;
JSON
{
  "hex": "#682497",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 275.478,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42322,
    "c": 0.17766,
    "h": 307.2
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

primary
#682497
secondary
#82BD5A
accent
#E54385
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682497

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

Preview Lab → · Contrast checker → · Palette generator →

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