#623498#623498

#623498 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.6% C 0.157 H 301.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#623498
RGBrgb(98, 52, 152)
HSLhsl(268, 49%, 40%)
HSVhsv(268, 66%, 60%)
CMYKcmyk(35.5%, 65.8%, 0%, 40.4%)
CIE-LABlab(32.52, 41.20, -47.18)
CIE-LCHlch(32.52, 62.63, 311.13°)
OKLaboklab(43.62% 0.0814 -0.1341)
OKLCHoklch(43.62% 0.157 301.3)
XYZxyz(11.9311, 7.3196, 30.4839)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623498 #6A9834
analogous
#343898 #623498 #943498
triadic
#623498 #986234 #349862
tetradic
#623498 #983438 #6A9834 #349894
square
#623498 #983438 #6A9834 #349894
split-complementary
#623498 #989434 #389834
monochromatic
#27153D #45246A #623498 #8049C1 #A076D0

Accessibility & contrast

On white

8.52
#623498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#623498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623498
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623498#FFFFFF#000000##FFFFFF
##6234981.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#094C96
Tritanopia (blue-blind)
#574A61
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #623498;
/* rgb */ color: rgb(98, 52, 152);
/* oklch */ color: oklch(43.6% 0.157 301.3);
Tailwind
colors: {
  custom: {
    50: '#936eb7',
    500: '#623498',
    950: '#000000',
  },
}
SCSS
$custom: #623498;
$custom-light: #936eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#623498",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 267.6,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.4362,
    "c": 0.15688,
    "h": 301.3
  },
  "luminance": 0.0732
}

Semantic roles & 50–950 ramp

primary
#623498
secondary
#97B96F
accent
#D94F99
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #623498

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

Preview Lab → · Contrast checker → · Palette generator →

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