#623796#623796

#623796 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.9% C 0.150 H 301.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#623796
RGBrgb(98, 55, 150)
HSLhsl(267, 46%, 40%)
HSVhsv(267, 63%, 59%)
CMYKcmyk(34.7%, 63.3%, 0%, 41.2%)
CIE-LABlab(32.99, 39.03, -45.21)
CIE-LCHlch(32.99, 59.73, 310.81°)
OKLaboklab(43.91% 0.078 -0.1283)
OKLCHoklch(43.91% 0.15 301.3)
XYZxyz(11.9069, 7.5310, 29.6746)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623796 #6B9637
analogous
#373C96 #623796 #913796
triadic
#623796 #966237 #379662
tetradic
#623796 #96373C #6B9637 #379691
square
#623796 #96373C #6B9637 #379691
split-complementary
#623796 #969137 #3C9637
monochromatic
#27163C #452769 #623796 #804DBE #A079CE

Accessibility & contrast

On white

8.38
#623796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #623796
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623796#FFFFFF#000000##FFFFFF
##6237961.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#164D94
Tritanopia (blue-blind)
#574B61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #623796;
/* rgb */ color: rgb(98, 55, 150);
/* oklch */ color: oklch(43.9% 0.150 301.3);
Tailwind
colors: {
  custom: {
    50: '#9270b5',
    500: '#623796',
    950: '#000000',
  },
}
SCSS
$custom: #623796;
$custom-light: #9270b5;
$custom-dark: #000000;
JSON
{
  "hex": "#623796",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 267.158,
    "s": 46.341,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4391,
    "c": 0.15014,
    "h": 301.3
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#623796
secondary
#98B772
accent
#D6529A
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #623796

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

Preview Lab → · Contrast checker → · Palette generator →

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