#62387B#62387B

#62387B is a dark, moderate violet. Relative luminance 0.069; OKLCH L 42.2% C 0.115 H 311.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#62387B
RGBrgb(98, 56, 123)
HSLhsl(278, 37%, 35%)
HSVhsv(278, 54%, 48%)
CMYKcmyk(20.3%, 54.5%, 0%, 51.8%)
CIE-LABlab(31.48, 31.61, -30.94)
CIE-LCHlch(31.48, 44.23, 315.62°)
OKLaboklab(42.25% 0.0762 -0.0865)
OKLCHoklch(42.25% 0.115 311.4)
XYZxyz(10.0257, 6.8553, 19.5301)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62387B #517B38
analogous
#41387B #62387B #7B3872
triadic
#62387B #7B6238 #387B62
tetradic
#62387B #7B4138 #517B38 #38727B
square
#62387B #7B4138 #517B38 #38727B
split-complementary
#62387B #727B38 #387B41
monochromatic
#1F1227 #402551 #62387B #844BA5 #A170BE

Accessibility & contrast

On white

8.86
#62387B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#62387B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62387B
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62387B#FFFFFF#000000##FFFFFF
##62387B1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487D
Deuteranopia (green-blind)
#344B79
Tritanopia (blue-blind)
#5F4354
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #62387b;
/* rgb */ color: rgb(98, 56, 123);
/* oklch */ color: oklch(42.2% 0.115 311.4);
Tailwind
colors: {
  custom: {
    50: '#9070a1',
    500: '#62387b',
    950: '#000000',
  },
}
SCSS
$custom: #62387b;
$custom-light: #9070a1;
$custom-dark: #000000;
JSON
{
  "hex": "#62387b",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 277.612,
    "s": 37.43,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42249,
    "c": 0.11527,
    "h": 311.4
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#62387B
secondary
#7FA768
accent
#CD5A85
background
#F9F6FA
surface
#F1ECF3
border
#CBC7CD
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #62387B

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

Preview Lab → · Contrast checker → · Palette generator →

#62387B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva