#682995#682995

#682995 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.170 H 307.3°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#682995
RGBrgb(104, 41, 149)
HSLhsl(275, 57%, 37%)
HSVhsv(275, 72%, 58%)
CMYKcmyk(30.2%, 72.5%, 0%, 41.6%)
CIE-LABlab(31.11, 47.25, -47.59)
CIE-LCHlch(31.11, 67.06, 314.79°)
OKLaboklab(42.71% 0.1027 -0.135)
OKLCHoklch(42.71% 0.17 307.3)
XYZxyz(11.9255, 6.6990, 29.0927)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682995 #569529
analogous
#322995 #682995 #95298C
triadic
#682995 #956829 #299568
tetradic
#682995 #953229 #569529 #298C95
square
#682995 #953229 #569529 #298C95
split-complementary
#682995 #8C9529 #299532
monochromatic
#250F35 #471C65 #682995 #8936C5 #A664D4

Accessibility & contrast

On white

8.98
#682995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#682995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682995
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682995#FFFFFF#000000##FFFFFF
##6829951.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#054A93
Tritanopia (blue-blind)
#61425C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682995;
/* rgb */ color: rgb(104, 41, 149);
/* oklch */ color: oklch(42.7% 0.170 307.3);
Tailwind
colors: {
  custom: {
    50: '#9769b5',
    500: '#682995',
    950: '#000000',
  },
}
SCSS
$custom: #682995;
$custom-light: #9769b5;
$custom-dark: #000000;
JSON
{
  "hex": "#682995",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 275,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42711,
    "c": 0.16967,
    "h": 307.3
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#682995
secondary
#85BA60
accent
#E04887
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682995

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

Preview Lab → · Contrast checker → · Palette generator →

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