#682695#682695

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

Color values

HEX#682695
RGBrgb(104, 38, 149)
HSLhsl(276, 59%, 37%)
HSVhsv(276, 74%, 58%)
CMYKcmyk(30.2%, 74.5%, 0%, 41.6%)
CIE-LABlab(30.64, 48.58, -48.36)
CIE-LCHlch(30.64, 68.55, 315.13°)
OKLaboklab(42.38% 0.1058 -0.1373)
OKLCHoklch(42.38% 0.173 307.6)
XYZxyz(11.8257, 6.4994, 29.0595)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682695 #539526
analogous
#312695 #682695 #95268B
triadic
#682695 #956826 #269568
tetradic
#682695 #953126 #539526 #268B95
square
#682695 #953126 #539526 #268B95
split-complementary
#682695 #8B9526 #269531
monochromatic
#240D33 #461A64 #682695 #8A32C6 #A65FD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##682695#FFFFFF#000000##FFFFFF
##6826951.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)
#004698
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#61405B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682695;
/* rgb */ color: rgb(104, 38, 149);
/* oklch */ color: oklch(42.4% 0.173 307.6);
Tailwind
colors: {
  custom: {
    50: '#9867b5',
    500: '#682695',
    950: '#000000',
  },
}
SCSS
$custom: #682695;
$custom-light: #9867b5;
$custom-dark: #000000;
JSON
{
  "hex": "#682695",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 275.676,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42376,
    "c": 0.17332,
    "h": 307.6
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#682695
secondary
#82BB5B
accent
#E34585
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682695

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

Preview Lab → · Contrast checker → · Palette generator →

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