#681283#681283

#681283 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.2% C 0.176 H 315.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#681283
RGBrgb(104, 18, 131)
HSLhsl(286, 76%, 29%)
HSVhsv(286, 86%, 51%)
CMYKcmyk(20.6%, 86.3%, 0%, 48.6%)
CIE-LABlab(26.78, 51.83, -43.44)
CIE-LCHlch(26.78, 67.63, 320.03°)
OKLaboklab(39.22% 0.1267 -0.1227)
OKLCHoklch(39.22% 0.176 315.9)
XYZxyz(10.0213, 5.0148, 21.9084)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681283 #2D8312
analogous
#301283 #681283 #831266
triadic
#681283 #836812 #128368
tetradic
#681283 #833012 #2D8312 #126683
square
#681283 #833012 #2D8312 #126683
split-complementary
#681283 #668312 #128330
monochromatic
#15041B #3D0B4D #681283 #9319B9 #B72DE2

Accessibility & contrast

On white

10.49
#681283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#681283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681283
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681283#FFFFFF#000000##FFFFFF
##6812831.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#0E4181
Tritanopia (blue-blind)
#662F4D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #681283;
/* rgb */ color: rgb(104, 18, 131);
/* oklch */ color: oklch(39.2% 0.176 315.9);
Tailwind
colors: {
  custom: {
    50: '#975ea8',
    500: '#681283',
    950: '#000000',
  },
}
SCSS
$custom: #681283;
$custom-light: #975ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#681283",
  "rgb": {
    "r": 104,
    "g": 18,
    "b": 131
  },
  "hsl": {
    "h": 285.664,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39224,
    "c": 0.17639,
    "h": 315.9
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#681283
secondary
#57B838
accent
#F23563
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #681283

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

Preview Lab → · Contrast checker → · Palette generator →

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