#683098#683098

#683098 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.164 H 305.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#683098
RGBrgb(104, 48, 152)
HSLhsl(272, 52%, 39%)
HSVhsv(272, 68%, 60%)
CMYKcmyk(31.6%, 68.4%, 0%, 40.4%)
CIE-LABlab(32.53, 44.61, -47.12)
CIE-LCHlch(32.53, 64.89, 313.43°)
OKLaboklab(43.8% 0.0946 -0.1337)
OKLCHoklch(43.8% 0.164 305.3)
XYZxyz(12.4321, 7.3240, 30.4584)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683098 #609830
analogous
#343098 #683098 #983094
triadic
#683098 #986830 #309868
tetradic
#683098 #983430 #609830 #309498
square
#683098 #983430 #609830 #309498
split-complementary
#683098 #949830 #309834
monochromatic
#28133B #482169 #683098 #8842C3 #A570D2

Accessibility & contrast

On white

8.52
#683098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#683098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683098
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683098#FFFFFF#000000##FFFFFF
##6830981.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#0F4D96
Tritanopia (blue-blind)
#5F4760
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #683098;
/* rgb */ color: rgb(104, 48, 152);
/* oklch */ color: oklch(43.8% 0.164 305.3);
Tailwind
colors: {
  custom: {
    50: '#976cb7',
    500: '#683098',
    950: '#000000',
  },
}
SCSS
$custom: #683098;
$custom-light: #976cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#683098",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 272.308,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43796,
    "c": 0.16377,
    "h": 305.3
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#683098
secondary
#8FBA6A
accent
#DB4C8E
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #683098

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

Preview Lab → · Contrast checker → · Palette generator →

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