#682597#682597

#682597 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.177 H 307.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#682597
RGBrgb(104, 37, 151)
HSLhsl(275, 61%, 37%)
HSVhsv(275, 75%, 59%)
CMYKcmyk(31.1%, 75.5%, 0%, 40.8%)
CIE-LABlab(30.64, 49.48, -49.58)
CIE-LCHlch(30.64, 70.04, 314.94°)
OKLaboklab(42.43% 0.1064 -0.1408)
OKLCHoklch(42.43% 0.177 307.1)
XYZxyz(11.9552, 6.5007, 29.8971)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682597 #549725
analogous
#2F2597 #682597 #97258D
triadic
#682597 #976825 #259768
tetradic
#682597 #972F25 #549725 #258D97
square
#682597 #972F25 #549725 #258D97
split-complementary
#682597 #8D9725 #25972F
monochromatic
#240D35 #461966 #682597 #8A31C8 #A65FD8

Accessibility & contrast

On white

9.13
#682597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#682597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682597
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682597#FFFFFF#000000##FFFFFF
##6825971.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682597;
/* rgb */ color: rgb(104, 37, 151);
/* oklch */ color: oklch(42.4% 0.177 307.1);
Tailwind
colors: {
  custom: {
    50: '#9867b6',
    500: '#682597',
    950: '#000000',
  },
}
SCSS
$custom: #682597;
$custom-light: #9867b6;
$custom-dark: #000000;
JSON
{
  "hex": "#682597",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 275.263,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42426,
    "c": 0.17653,
    "h": 307.1
  },
  "luminance": 0.06501
}

Semantic roles & 50–950 ramp

primary
#682597
secondary
#83BD5B
accent
#E44486
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682597

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

Preview Lab → · Contrast checker → · Palette generator →

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