#623197#623197

#623197 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.160 H 302.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#623197
RGBrgb(98, 49, 151)
HSLhsl(269, 51%, 39%)
HSVhsv(269, 68%, 59%)
CMYKcmyk(35.1%, 67.5%, 0%, 40.8%)
CIE-LABlab(31.87, 42.53, -47.62)
CIE-LCHlch(31.87, 63.85, 311.77°)
OKLaboklab(43.13% 0.0851 -0.1354)
OKLCHoklch(43.13% 0.16 302.1)
XYZxyz(11.7199, 7.0276, 30.0112)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623197 #669731
analogous
#313397 #623197 #953197
triadic
#623197 #976231 #319762
tetradic
#623197 #973133 #669731 #319795
square
#623197 #973133 #669731 #319795
split-complementary
#623197 #979531 #339731
monochromatic
#26133B #442269 #623197 #8043C2 #9F71D1

Accessibility & contrast

On white

8.73
#623197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#623197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623197
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623197#FFFFFF#000000##FFFFFF
##6231971.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#024B95
Tritanopia (blue-blind)
#574860
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #623197;
/* rgb */ color: rgb(98, 49, 151);
/* oklch */ color: oklch(43.1% 0.160 302.1);
Tailwind
colors: {
  custom: {
    50: '#936db6',
    500: '#623197',
    950: '#000000',
  },
}
SCSS
$custom: #623197;
$custom-light: #936db6;
$custom-dark: #000000;
JSON
{
  "hex": "#623197",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 268.824,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43126,
    "c": 0.15989,
    "h": 302.1
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#623197
secondary
#93B96B
accent
#DA4D97
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #623197

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

Preview Lab → · Contrast checker → · Palette generator →

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