#623387#623387

#623387 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.2% C 0.138 H 307.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#623387
RGBrgb(98, 51, 135)
HSLhsl(274, 45%, 36%)
HSVhsv(274, 62%, 53%)
CMYKcmyk(27.4%, 62.2%, 0%, 47.1%)
CIE-LABlab(31.15, 37.40, -38.94)
CIE-LCHlch(31.15, 54.00, 313.84°)
OKLaboklab(42.25% 0.0837 -0.1099)
OKLCHoklch(42.25% 0.138 307.3)
XYZxyz(10.5931, 6.7137, 23.6548)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623387 #588733
analogous
#383387 #623387 #873382
triadic
#623387 #876233 #338762
tetradic
#623387 #873833 #588733 #338287
square
#623387 #873833 #588733 #338287
split-complementary
#623387 #828733 #338738
monochromatic
#22112E #42225B #623387 #8244B3 #A06DC8

Accessibility & contrast

On white

8.96
#623387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#623387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623387
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623387#FFFFFF#000000##FFFFFF
##6233871.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C488A
Deuteranopia (green-blind)
#254A85
Tritanopia (blue-blind)
#5C4458
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #623387;
/* rgb */ color: rgb(98, 51, 135);
/* oklch */ color: oklch(42.2% 0.138 307.3);
Tailwind
colors: {
  custom: {
    50: '#926daa',
    500: '#623387',
    950: '#000000',
  },
}
SCSS
$custom: #623387;
$custom-light: #926daa;
$custom-dark: #000000;
JSON
{
  "hex": "#623387",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 273.571,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42247,
    "c": 0.13812,
    "h": 307.3
  },
  "luminance": 0.06714
}

Semantic roles & 50–950 ramp

primary
#623387
secondary
#87B066
accent
#D5538C
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #623387

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

Preview Lab → · Contrast checker → · Palette generator →

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