#623486#623486

#623486 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.3% C 0.135 H 307.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#623486
RGBrgb(98, 52, 134)
HSLhsl(274, 44%, 36%)
HSVhsv(274, 61%, 53%)
CMYKcmyk(26.9%, 61.2%, 0%, 47.5%)
CIE-LABlab(31.29, 36.60, -38.10)
CIE-LCHlch(31.29, 52.83, 313.85°)
OKLaboklab(42.33% 0.0823 -0.1074)
OKLCHoklch(42.33% 0.135 307.5)
XYZxyz(10.5672, 6.7740, 23.3005)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623486 #588634
analogous
#393486 #623486 #863481
triadic
#623486 #866234 #348662
tetradic
#623486 #863934 #588634 #348186
square
#623486 #863934 #588634 #348186
split-complementary
#623486 #818634 #348639
monochromatic
#22122E #42235A #623486 #8245B2 #A06EC7

Accessibility & contrast

On white

8.92
#623486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#623486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623486
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623486#FFFFFF#000000##FFFFFF
##6234861.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124889
Deuteranopia (green-blind)
#274A84
Tritanopia (blue-blind)
#5C4458
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #623486;
/* rgb */ color: rgb(98, 52, 134);
/* oklch */ color: oklch(42.3% 0.135 307.5);
Tailwind
colors: {
  custom: {
    50: '#916eaa',
    500: '#623486',
    950: '#000000',
  },
}
SCSS
$custom: #623486;
$custom-light: #916eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#623486",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 273.659,
    "s": 44.086,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42328,
    "c": 0.13535,
    "h": 307.5
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#623486
secondary
#87AF67
accent
#D4548C
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #623486

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

Preview Lab → · Contrast checker → · Palette generator →

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