#683397#683397

#683397 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.158 H 305.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#683397
RGBrgb(104, 51, 151)
HSLhsl(272, 50%, 40%)
HSVhsv(272, 66%, 59%)
CMYKcmyk(31.1%, 66.2%, 0%, 40.8%)
CIE-LABlab(33.02, 42.84, -45.73)
CIE-LCHlch(33.02, 62.66, 313.13°)
OKLaboklab(44.12% 0.0912 -0.1296)
OKLCHoklch(44.12% 0.158 305.1)
XYZxyz(12.4774, 7.5452, 30.0712)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683397 #629733
analogous
#363397 #683397 #973394
triadic
#683397 #976833 #339768
tetradic
#683397 #973633 #629733 #339497
square
#683397 #973633 #629733 #339497
split-complementary
#683397 #949733 #339736
monochromatic
#29143C #482469 #683397 #8747C1 #A574D0

Accessibility & contrast

On white

8.37
#683397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#683397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683397
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683397#FFFFFF#000000##FFFFFF
##6833971.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#174E95
Tritanopia (blue-blind)
#604860
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #683397;
/* rgb */ color: rgb(104, 51, 151);
/* oklch */ color: oklch(44.1% 0.158 305.1);
Tailwind
colors: {
  custom: {
    50: '#976eb6',
    500: '#683397',
    950: '#000000',
  },
}
SCSS
$custom: #683397;
$custom-light: #976eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#683397",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 271.8,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44121,
    "c": 0.15848,
    "h": 305.1
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#683397
secondary
#91B86D
accent
#D94F90
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #683397

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

Preview Lab → · Contrast checker → · Palette generator →

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