#682595#682595

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

Color values

HEX#682595
RGBrgb(104, 37, 149)
HSLhsl(276, 60%, 36%)
HSVhsv(276, 75%, 58%)
CMYKcmyk(30.2%, 75.2%, 0%, 41.6%)
CIE-LABlab(30.49, 49.01, -48.60)
CIE-LCHlch(30.49, 69.02, 315.24°)
OKLaboklab(42.27% 0.1068 -0.138)
OKLCHoklch(42.27% 0.174 307.7)
XYZxyz(11.7942, 6.4363, 29.0490)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682595 #529525
analogous
#302595 #682595 #95258A
triadic
#682595 #956825 #259568
tetradic
#682595 #953025 #529525 #258A95
square
#682595 #953025 #529525 #258A95
split-complementary
#682595 #8A9525 #259530
monochromatic
#240D33 #461964 #682595 #8A31C6 #A65ED7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##682595#FFFFFF#000000##FFFFFF
##6825951.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)
#004598
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#61405B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682595;
/* rgb */ color: rgb(104, 37, 149);
/* oklch */ color: oklch(42.3% 0.174 307.7);
Tailwind
colors: {
  custom: {
    50: '#9866b5',
    500: '#682595',
    950: '#000000',
  },
}
SCSS
$custom: #682595;
$custom-light: #9866b5;
$custom-dark: #000000;
JSON
{
  "hex": "#682595",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 275.893,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42268,
    "c": 0.17449,
    "h": 307.7
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#682595
secondary
#81BC5A
accent
#E34484
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682595

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

Preview Lab → · Contrast checker → · Palette generator →

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