#623286#623286

#623286 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.0% C 0.138 H 307.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#623286
RGBrgb(98, 50, 134)
HSLhsl(274, 46%, 36%)
HSVhsv(274, 63%, 53%)
CMYKcmyk(26.9%, 62.7%, 0%, 47.5%)
CIE-LABlab(30.88, 37.71, -38.76)
CIE-LCHlch(30.88, 54.07, 314.21°)
OKLaboklab(42.03% 0.085 -0.1093)
OKLCHoklch(42.03% 0.138 307.9)
XYZxyz(10.4798, 6.5992, 23.2713)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623286 #568632
analogous
#383286 #623286 #863280
triadic
#623286 #866232 #328662
tetradic
#623286 #863832 #568632 #328086
square
#623286 #863832 #568632 #328086
split-complementary
#623286 #808632 #328638
monochromatic
#21112D #412159 #623286 #8343B3 #A06BC8

Accessibility & contrast

On white

9.05
#623286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#623286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623286
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623286#FFFFFF#000000##FFFFFF
##6232861.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4789
Deuteranopia (green-blind)
#244984
Tritanopia (blue-blind)
#5D4257
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #623286;
/* rgb */ color: rgb(98, 50, 134);
/* oklch */ color: oklch(42.0% 0.138 307.9);
Tailwind
colors: {
  custom: {
    50: '#926daa',
    500: '#623286',
    950: '#000000',
  },
}
SCSS
$custom: #623286;
$custom-light: #926daa;
$custom-dark: #000000;
JSON
{
  "hex": "#623286",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 274.286,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.13849,
    "h": 307.9
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#623286
secondary
#85AF64
accent
#D5528B
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #623286

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

Preview Lab → · Contrast checker → · Palette generator →

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