#682299#682299

#682299 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.182 H 306.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#682299
RGBrgb(104, 34, 153)
HSLhsl(275, 64%, 37%)
HSVhsv(275, 78%, 60%)
CMYKcmyk(32%, 77.8%, 0%, 40%)
CIE-LABlab(30.37, 51.17, -51.24)
CIE-LCHlch(30.37, 72.42, 314.96°)
OKLaboklab(42.28% 0.1088 -0.1457)
OKLCHoklch(42.28% 0.182 306.7)
XYZxyz(12.0295, 6.3872, 30.7299)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682299 #539922
analogous
#2D2299 #682299 #99228F
triadic
#682299 #996822 #229968
tetradic
#682299 #992D22 #539922 #228F99
square
#682299 #992D22 #539922 #228F99
split-complementary
#682299 #8F9922 #22992D
monochromatic
#240C35 #461767 #682299 #8A2DCB #A65BDB

Accessibility & contrast

On white

9.22
#682299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#682299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682299
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682299#FFFFFF#000000##FFFFFF
##6822991.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#5F405D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682299;
/* rgb */ color: rgb(104, 34, 153);
/* oklch */ color: oklch(42.3% 0.182 306.7);
Tailwind
colors: {
  custom: {
    50: '#9865b8',
    500: '#682299',
    950: '#000000',
  },
}
SCSS
$custom: #682299;
$custom-light: #9865b8;
$custom-dark: #000000;
JSON
{
  "hex": "#682299",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 275.294,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42283,
    "c": 0.18186,
    "h": 306.7
  },
  "luminance": 0.06387
}

Semantic roles & 50–950 ramp

primary
#682299
secondary
#82BF58
accent
#E74185
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682299

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

Preview Lab → · Contrast checker → · Palette generator →

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