#62338C#62338C

#62338C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.6% C 0.144 H 305.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#62338C
RGBrgb(98, 51, 140)
HSLhsl(272, 47%, 37%)
HSVhsv(272, 64%, 55%)
CMYKcmyk(30%, 63.6%, 0%, 45.1%)
CIE-LABlab(31.48, 38.66, -41.50)
CIE-LCHlch(31.48, 56.72, 312.97°)
OKLaboklab(42.6% 0.0835 -0.1174)
OKLCHoklch(42.6% 0.144 305.4)
XYZxyz(10.9534, 6.8578, 25.5525)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62338C #5D8C33
analogous
#35338C #62338C #8C338A
triadic
#62338C #8C6233 #338C62
tetradic
#62338C #8C3533 #5D8C33 #338A8C
square
#62338C #8C3533 #5D8C33 #338A8C
split-complementary
#62338C #8A8C33 #338C35
monochromatic
#231232 #43235F #62338C #8143B9 #9F6FCB

Accessibility & contrast

On white

8.85
#62338C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#62338C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62338C
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62338C#FFFFFF#000000##FFFFFF
##62338C1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00498F
Deuteranopia (green-blind)
#1F4A8A
Tritanopia (blue-blind)
#5B455A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #62338c;
/* rgb */ color: rgb(98, 51, 140);
/* oklch */ color: oklch(42.6% 0.144 305.4);
Tailwind
colors: {
  custom: {
    50: '#926dae',
    500: '#62338c',
    950: '#000000',
  },
}
SCSS
$custom: #62338c;
$custom-light: #926dae;
$custom-dark: #000000;
JSON
{
  "hex": "#62338c",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 271.685,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42598,
    "c": 0.14407,
    "h": 305.4
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#62338C
secondary
#8BB268
accent
#D65290
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62338C

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

Preview Lab → · Contrast checker → · Palette generator →

#62338C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva