#623785#623785

#623785 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.7% C 0.129 H 307.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#623785
RGBrgb(98, 55, 133)
HSLhsl(273, 41%, 37%)
HSVhsv(273, 59%, 52%)
CMYKcmyk(26.3%, 58.6%, 0%, 47.8%)
CIE-LABlab(31.86, 34.66, -36.56)
CIE-LCHlch(31.86, 50.38, 313.47°)
OKLaboklab(42.73% 0.0782 -0.1029)
OKLCHoklch(42.73% 0.129 307.2)
XYZxyz(10.6360, 7.0226, 22.9809)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623785 #5A8537
analogous
#3B3785 #623785 #853781
triadic
#623785 #856237 #378562
tetradic
#623785 #853B37 #5A8537 #378185
square
#623785 #853B37 #5A8537 #378185
split-complementary
#623785 #818537 #37853B
monochromatic
#22132E #42255A #623785 #8249B0 #9F72C5

Accessibility & contrast

On white

8.73
#623785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #623785
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623785#FFFFFF#000000##FFFFFF
##6237851.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4988
Deuteranopia (green-blind)
#2B4B83
Tritanopia (blue-blind)
#5D4658
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #623785;
/* rgb */ color: rgb(98, 55, 133);
/* oklch */ color: oklch(42.7% 0.129 307.2);
Tailwind
colors: {
  custom: {
    50: '#9170a9',
    500: '#623785',
    950: '#000000',
  },
}
SCSS
$custom: #623785;
$custom-light: #9170a9;
$custom-dark: #000000;
JSON
{
  "hex": "#623785",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 133
  },
  "hsl": {
    "h": 273.077,
    "s": 41.489,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42726,
    "c": 0.12929,
    "h": 307.2
  },
  "luminance": 0.07023
}

Semantic roles & 50–950 ramp

primary
#623785
secondary
#88AD6A
accent
#D1568E
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #623785

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

Preview Lab → · Contrast checker → · Palette generator →

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