#62337E#62337E

#62337E is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.6% C 0.127 H 311.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#62337E
RGBrgb(98, 51, 126)
HSLhsl(278, 42%, 35%)
HSVhsv(278, 60%, 49%)
CMYKcmyk(22.2%, 59.5%, 0%, 50.6%)
CIE-LABlab(30.57, 35.20, -34.26)
CIE-LCHlch(30.57, 49.11, 315.78°)
OKLaboklab(41.64% 0.0836 -0.0962)
OKLCHoklch(41.64% 0.127 311)
XYZxyz(9.9860, 6.4709, 20.4576)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62337E #4F7E33
analogous
#3D337E #62337E #7E3375
triadic
#62337E #7E6233 #337E62
tetradic
#62337E #7E3D33 #4F7E33 #33757E
square
#62337E #7E3D33 #4F7E33 #33757E
split-complementary
#62337E #757E33 #337E3D
monochromatic
#1E1027 #402152 #62337E #8445AA #A169C2

Accessibility & contrast

On white

9.15
#62337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#62337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62337E
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62337E#FFFFFF#000000##FFFFFF
##62337E1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4680
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#5F4053
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #62337e;
/* rgb */ color: rgb(98, 51, 126);
/* oklch */ color: oklch(41.6% 0.127 311.0);
Tailwind
colors: {
  custom: {
    50: '#916da4',
    500: '#62337e',
    950: '#000000',
  },
}
SCSS
$custom: #62337e;
$custom-light: #916da4;
$custom-dark: #000000;
JSON
{
  "hex": "#62337e",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 277.6,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41642,
    "c": 0.12742,
    "h": 311
  },
  "luminance": 0.06471
}

Semantic roles & 50–950 ramp

primary
#62337E
secondary
#7DAA63
accent
#D25684
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #62337E

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

Preview Lab → · Contrast checker → · Palette generator →

#62337E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva