#623187#623187

#623187 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.0% C 0.141 H 307.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#623187
RGBrgb(98, 49, 135)
HSLhsl(274, 47%, 36%)
HSVhsv(274, 64%, 53%)
CMYKcmyk(27.4%, 63.7%, 0%, 47.1%)
CIE-LABlab(30.74, 38.50, -39.59)
CIE-LCHlch(30.74, 55.22, 314.19°)
OKLaboklab(41.95% 0.0863 -0.1118)
OKLCHoklch(41.95% 0.141 307.7)
XYZxyz(10.5076, 6.5427, 23.6263)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623187 #568731
analogous
#373187 #623187 #873181
triadic
#623187 #876231 #318762
tetradic
#623187 #873731 #568731 #318187
square
#623187 #873731 #568731 #318187
split-complementary
#623187 #818731 #318737
monochromatic
#21102D #41215A #623187 #8341B4 #A06AC9

Accessibility & contrast

On white

9.10
#623187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#623187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623187
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623187#FFFFFF#000000##FFFFFF
##6231871.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04478A
Deuteranopia (green-blind)
#224985
Tritanopia (blue-blind)
#5C4257
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #623187;
/* rgb */ color: rgb(98, 49, 135);
/* oklch */ color: oklch(42.0% 0.141 307.7);
Tailwind
colors: {
  custom: {
    50: '#926caa',
    500: '#623187',
    950: '#000000',
  },
}
SCSS
$custom: #623187;
$custom-light: #926caa;
$custom-dark: #000000;
JSON
{
  "hex": "#623187",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 274.186,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41954,
    "c": 0.14122,
    "h": 307.7
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#623187
secondary
#85B064
accent
#D6518B
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #623187

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

Preview Lab → · Contrast checker → · Palette generator →

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