#682598#682598

#682598 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.178 H 306.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#682598
RGBrgb(104, 37, 152)
HSLhsl(275, 61%, 37%)
HSVhsv(275, 76%, 60%)
CMYKcmyk(31.6%, 75.7%, 0%, 40.4%)
CIE-LABlab(30.72, 49.71, -50.06)
CIE-LCHlch(30.72, 70.55, 314.80°)
OKLaboklab(42.51% 0.1062 -0.1423)
OKLCHoklch(42.51% 0.178 306.7)
XYZxyz(12.0368, 6.5333, 30.3266)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682598 #559825
analogous
#2F2598 #682598 #98258F
triadic
#682598 #986825 #259868
tetradic
#682598 #982F25 #559825 #258F98
square
#682598 #982F25 #559825 #258F98
split-complementary
#682598 #8F9825 #25982F
monochromatic
#250D36 #461967 #682598 #8A31C9 #A65FD8

Accessibility & contrast

On white

9.10
#682598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#682598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682598
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682598#FFFFFF#000000##FFFFFF
##6825981.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#60415D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682598;
/* rgb */ color: rgb(104, 37, 152);
/* oklch */ color: oklch(42.5% 0.178 306.7);
Tailwind
colors: {
  custom: {
    50: '#9867b7',
    500: '#682598',
    950: '#000000',
  },
}
SCSS
$custom: #682598;
$custom-light: #9867b7;
$custom-dark: #000000;
JSON
{
  "hex": "#682598",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 274.957,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42506,
    "c": 0.17755,
    "h": 306.7
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#682598
secondary
#84BD5C
accent
#E44487
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682598

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

Preview Lab → · Contrast checker → · Palette generator →

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