#623287#623287

#623287 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.140 H 307.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#623287
RGBrgb(98, 50, 135)
HSLhsl(274, 46%, 36%)
HSVhsv(274, 63%, 53%)
CMYKcmyk(27.4%, 63%, 0%, 47.1%)
CIE-LABlab(30.94, 37.95, -39.27)
CIE-LCHlch(30.94, 54.61, 314.02°)
OKLaboklab(42.1% 0.085 -0.1109)
OKLCHoklch(42.1% 0.14 307.5)
XYZxyz(10.5499, 6.6273, 23.6404)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623287 #578732
analogous
#383287 #623287 #873282
triadic
#623287 #876232 #328762
tetradic
#623287 #873832 #578732 #328287
square
#623287 #873832 #578732 #328287
split-complementary
#623287 #828732 #328738
monochromatic
#21112E #42215A #623287 #8243B4 #A06BC8

Accessibility & contrast

On white

9.03
#623287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#623287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623287
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623287#FFFFFF#000000##FFFFFF
##6232871.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08478A
Deuteranopia (green-blind)
#234985
Tritanopia (blue-blind)
#5C4357
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #623287;
/* rgb */ color: rgb(98, 50, 135);
/* oklch */ color: oklch(42.1% 0.140 307.5);
Tailwind
colors: {
  custom: {
    50: '#926daa',
    500: '#623287',
    950: '#000000',
  },
}
SCSS
$custom: #623287;
$custom-light: #926daa;
$custom-dark: #000000;
JSON
{
  "hex": "#623287",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 273.882,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42099,
    "c": 0.13968,
    "h": 307.5
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#623287
secondary
#86B065
accent
#D6528B
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #623287

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

Preview Lab → · Contrast checker → · Palette generator →

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