#623688#623688

#623688 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.8% C 0.135 H 306.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#623688
RGBrgb(98, 54, 136)
HSLhsl(272, 43%, 37%)
HSVhsv(272, 60%, 53%)
CMYKcmyk(27.9%, 60.3%, 0%, 46.7%)
CIE-LABlab(31.84, 35.98, -38.46)
CIE-LCHlch(31.84, 52.67, 313.09°)
OKLaboklab(42.77% 0.0796 -0.1085)
OKLCHoklch(42.77% 0.135 306.3)
XYZxyz(10.7992, 7.0127, 24.0724)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623688 #5C8836
analogous
#393688 #623688 #883685
triadic
#623688 #886236 #368862
tetradic
#623688 #883936 #5C8836 #368588
square
#623688 #883936 #5C8836 #368588
split-complementary
#623688 #858836 #368839
monochromatic
#231330 #42255C #623688 #8247B4 #9F72C7

Accessibility & contrast

On white

8.74
#623688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#623688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623688
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623688#FFFFFF#000000##FFFFFF
##6236881.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14498B
Deuteranopia (green-blind)
#274B86
Tritanopia (blue-blind)
#5C4659
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #623688;
/* rgb */ color: rgb(98, 54, 136);
/* oklch */ color: oklch(42.8% 0.135 306.3);
Tailwind
colors: {
  custom: {
    50: '#916fab',
    500: '#623688',
    950: '#000000',
  },
}
SCSS
$custom: #623688;
$custom-light: #916fab;
$custom-dark: #000000;
JSON
{
  "hex": "#623688",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 272.195,
    "s": 43.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42771,
    "c": 0.13459,
    "h": 306.3
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#623688
secondary
#8AAF6A
accent
#D3558F
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #623688

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

Preview Lab → · Contrast checker → · Palette generator →

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