#682F85#682F85

#682F85 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.144 H 312.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#682F85
RGBrgb(104, 47, 133)
HSLhsl(280, 48%, 35%)
HSVhsv(280, 65%, 52%)
CMYKcmyk(21.8%, 64.7%, 0%, 47.8%)
CIE-LABlab(31.04, 40.58, -37.82)
CIE-LCHlch(31.04, 55.47, 317.02°)
OKLaboklab(42.31% 0.0972 -0.1064)
OKLCHoklch(42.31% 0.144 312.4)
XYZxyz(10.9583, 6.6698, 22.8959)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F85 #4C852F
analogous
#3D2F85 #682F85 #852F77
triadic
#682F85 #85682F #2F8568
tetradic
#682F85 #853D2F #4C852F #2F7785
square
#682F85 #853D2F #4C852F #2F7785
split-complementary
#682F85 #77852F #2F853D
monochromatic
#210F2B #451F58 #682F85 #8B3FB2 #A766C9

Accessibility & contrast

On white

9.00
#682F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#682F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F85
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F85#FFFFFF#000000##FFFFFF
##682F851.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4688
Deuteranopia (green-blind)
#294A83
Tritanopia (blue-blind)
#653F55
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #682f85;
/* rgb */ color: rgb(104, 47, 133);
/* oklch */ color: oklch(42.3% 0.144 312.4);
Tailwind
colors: {
  custom: {
    50: '#966ba9',
    500: '#682f85',
    950: '#000000',
  },
}
SCSS
$custom: #682f85;
$custom-light: #966ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#682f85",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 279.767,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42306,
    "c": 0.14409,
    "h": 312.4
  },
  "luminance": 0.0667
}

Semantic roles & 50–950 ramp

primary
#682F85
secondary
#7BB060
accent
#D7507E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #682F85

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

Preview Lab → · Contrast checker → · Palette generator →

#682F85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva