#623397#623397

#623397 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.4% C 0.157 H 301.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#623397
RGBrgb(98, 51, 151)
HSLhsl(268, 50%, 40%)
HSVhsv(268, 66%, 59%)
CMYKcmyk(35.1%, 66.2%, 0%, 40.8%)
CIE-LABlab(32.25, 41.47, -47.00)
CIE-LCHlch(32.25, 62.68, 311.43°)
OKLaboklab(43.4% 0.0827 -0.1336)
OKLCHoklch(43.4% 0.157 301.8)
XYZxyz(11.8054, 7.1986, 30.0397)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623397 #689733
analogous
#333697 #623397 #943397
triadic
#623397 #976233 #339762
tetradic
#623397 #973336 #689733 #339794
square
#623397 #973336 #689733 #339794
split-complementary
#623397 #979433 #369733
monochromatic
#27143C #442469 #623397 #8047C1 #9F74D0

Accessibility & contrast

On white

8.61
#623397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#623397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623397
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623397#FFFFFF#000000##FFFFFF
##6233971.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#094B95
Tritanopia (blue-blind)
#574960
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #623397;
/* rgb */ color: rgb(98, 51, 151);
/* oklch */ color: oklch(43.4% 0.157 301.8);
Tailwind
colors: {
  custom: {
    50: '#936eb6',
    500: '#623397',
    950: '#000000',
  },
}
SCSS
$custom: #623397;
$custom-light: #936eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#623397",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 268.2,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43404,
    "c": 0.15711,
    "h": 301.8
  },
  "luminance": 0.07199
}

Semantic roles & 50–950 ramp

primary
#623397
secondary
#95B86D
accent
#D94F98
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #623397

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

Preview Lab → · Contrast checker → · Palette generator →

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