#682BAE#682BAE

#682BAE is a dark, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.194 H 299.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#682BAE
RGBrgb(104, 43, 174)
HSLhsl(268, 60%, 43%)
HSVhsv(268, 75%, 68%)
CMYKcmyk(40.2%, 75.3%, 0%, 31.8%)
CIE-LABlab(33.41, 52.42, -58.98)
CIE-LCHlch(33.41, 78.91, 311.63°)
OKLaboklab(44.95% 0.0957 -0.1685)
OKLCHoklch(44.95% 0.194 299.6)
XYZxyz(14.2109, 7.7266, 40.7789)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682BAE #71AE2B
analogous
#2B2FAE #682BAE #AA2BAE
triadic
#682BAE #AE682B #2BAE68
tetradic
#682BAE #AE2B2F #71AE2B #2BAEAA
square
#682BAE #AE2B2F #71AE2B #2BAEAA
split-complementary
#682BAE #AEAA2B #2FAE2B
monochromatic
#2D134C #4B1F7D #682BAE #8645D1 #A676DD

Accessibility & contrast

On white

8.25
#682BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#682BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682BAE
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682BAE#FFFFFF#000000##FFFFFF
##682BAE1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#574D6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #682bae;
/* rgb */ color: rgb(104, 43, 174);
/* oklch */ color: oklch(45.0% 0.194 299.6);
Tailwind
colors: {
  custom: {
    50: '#9a6bc7',
    500: '#682bae',
    950: '#000000',
  },
}
SCSS
$custom: #682bae;
$custom-light: #9a6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#682bae",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 267.939,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44953,
    "c": 0.19381,
    "h": 299.6
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#682BAE
secondary
#9DC570
accent
#E44499
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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