#682BAA#682BAA

#682BAA is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.190 H 300.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#682BAA
RGBrgb(104, 43, 170)
HSLhsl(269, 60%, 42%)
HSVhsv(269, 75%, 67%)
CMYKcmyk(38.8%, 74.7%, 0%, 33.3%)
CIE-LABlab(33.08, 51.42, -57.12)
CIE-LCHlch(33.08, 76.86, 311.99°)
OKLaboklab(44.62% 0.0967 -0.1631)
OKLCHoklch(44.62% 0.19 300.7)
XYZxyz(13.8267, 7.5730, 38.7557)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682BAA #6DAA2B
analogous
#2B2EAA #682BAA #A82BAA
triadic
#682BAA #AA682B #2BAA68
tetradic
#682BAA #AA2B2E #6DAA2B #2BAAA8
square
#682BAA #AA2B2E #6DAA2B #2BAAA8
split-complementary
#682BAA #AAA82B #2EAA2B
monochromatic
#2C1248 #4A1F79 #682BAA #8643CF #A674DC

Accessibility & contrast

On white

8.35
#682BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#682BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682BAA
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682BAA#FFFFFF#000000##FFFFFF
##682BAA1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#594B68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #682baa;
/* rgb */ color: rgb(104, 43, 170);
/* oklch */ color: oklch(44.6% 0.190 300.7);
Tailwind
colors: {
  custom: {
    50: '#996ac4',
    500: '#682baa',
    950: '#000000',
  },
}
SCSS
$custom: #682baa;
$custom-light: #996ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#682baa",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 268.819,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44618,
    "c": 0.18957,
    "h": 300.7
  },
  "luminance": 0.07573
}

Semantic roles & 50–950 ramp

primary
#682BAA
secondary
#9AC36E
accent
#E34597
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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