#682088#682088

#682088 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.167 H 313.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#682088
RGBrgb(104, 32, 136)
HSLhsl(282, 62%, 33%)
HSVhsv(282, 76%, 53%)
CMYKcmyk(23.5%, 76.5%, 0%, 46.7%)
CIE-LABlab(28.78, 48.16, -43.33)
CIE-LCHlch(28.78, 64.78, 318.02°)
OKLaboklab(40.75% 0.114 -0.1224)
OKLCHoklch(40.75% 0.167 313)
XYZxyz(10.6686, 5.7540, 23.8364)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682088 #408820
analogous
#342088 #682088 #882074
triadic
#682088 #886820 #208868
tetradic
#682088 #883420 #408820 #207488
square
#682088 #883420 #408820 #207488
split-complementary
#682088 #748820 #208834
monochromatic
#1C0925 #421456 #682088 #8E2CBA #AB4DD5

Accessibility & contrast

On white

9.76
#682088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#682088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682088
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682088#FFFFFF#000000##FFFFFF
##6820881.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#144586
Tritanopia (blue-blind)
#643853
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #682088;
/* rgb */ color: rgb(104, 32, 136);
/* oklch */ color: oklch(40.8% 0.167 313.0);
Tailwind
colors: {
  custom: {
    50: '#9763ab',
    500: '#682088',
    950: '#000000',
  },
}
SCSS
$custom: #682088;
$custom-light: #9763ab;
$custom-dark: #000000;
JSON
{
  "hex": "#682088",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 281.538,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40754,
    "c": 0.16732,
    "h": 313
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#682088
secondary
#6DB84C
accent
#E54375
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #682088

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

Preview Lab → · Contrast checker → · Palette generator →

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