#682F95#682F95

#682F95 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.162 H 306.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#682F95
RGBrgb(104, 47, 149)
HSLhsl(274, 52%, 38%)
HSVhsv(274, 68%, 58%)
CMYKcmyk(30.2%, 68.5%, 0%, 41.6%)
CIE-LABlab(32.14, 44.38, -45.93)
CIE-LCHlch(32.14, 63.87, 314.02°)
OKLaboklab(43.44% 0.0961 -0.1302)
OKLCHoklch(43.44% 0.162 306.4)
XYZxyz(12.1491, 7.1461, 29.1673)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F95 #5C952F
analogous
#352F95 #682F95 #952F8F
triadic
#682F95 #95682F #2F9568
tetradic
#682F95 #95352F #5C952F #2F8F95
square
#682F95 #95352F #5C952F #2F8F95
split-complementary
#682F95 #8F952F #2F9535
monochromatic
#271238 #482066 #682F95 #883FC2 #A56DD1

Accessibility & contrast

On white

8.64
#682F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#682F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F95
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F95#FFFFFF#000000##FFFFFF
##682F951.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#144C93
Tritanopia (blue-blind)
#60455E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #682f95;
/* rgb */ color: rgb(104, 47, 149);
/* oklch */ color: oklch(43.4% 0.162 306.4);
Tailwind
colors: {
  custom: {
    50: '#976cb5',
    500: '#682f95',
    950: '#000000',
  },
}
SCSS
$custom: #682f95;
$custom-light: #976cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#682f95",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 273.529,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43443,
    "c": 0.16181,
    "h": 306.4
  },
  "luminance": 0.07146
}

Semantic roles & 50–950 ramp

primary
#682F95
secondary
#8BB867
accent
#DB4C8B
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682F95

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

Preview Lab → · Contrast checker → · Palette generator →

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