#62338D#62338D

#62338D is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.7% C 0.145 H 305.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#62338D
RGBrgb(98, 51, 141)
HSLhsl(271, 47%, 38%)
HSVhsv(271, 64%, 55%)
CMYKcmyk(30.5%, 63.8%, 0%, 44.7%)
CIE-LABlab(31.55, 38.91, -42.01)
CIE-LCHlch(31.55, 57.26, 312.81°)
OKLaboklab(42.67% 0.0835 -0.1189)
OKLCHoklch(42.67% 0.145 305.1)
XYZxyz(11.0275, 6.8875, 25.9426)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62338D #5E8D33
analogous
#35338D #62338D #8D338B
triadic
#62338D #8D6233 #338D62
tetradic
#62338D #8D3533 #5E8D33 #338B8D
square
#62338D #8D3533 #5E8D33 #338B8D
split-complementary
#62338D #8B8D33 #338D35
monochromatic
#241233 #432360 #62338D #8143BA #9F6FCB

Accessibility & contrast

On white

8.83
#62338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#62338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62338D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62338D#FFFFFF#000000##FFFFFF
##62338D1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#1E4A8B
Tritanopia (blue-blind)
#5A465B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #62338d;
/* rgb */ color: rgb(98, 51, 141);
/* oklch */ color: oklch(42.7% 0.145 305.1);
Tailwind
colors: {
  custom: {
    50: '#926daf',
    500: '#62338d',
    950: '#000000',
  },
}
SCSS
$custom: #62338d;
$custom-light: #926daf;
$custom-dark: #000000;
JSON
{
  "hex": "#62338d",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 271.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42669,
    "c": 0.14526,
    "h": 305.1
  },
  "luminance": 0.06887
}

Semantic roles & 50–950 ramp

primary
#62338D
secondary
#8CB369
accent
#D75191
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62338D

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

Preview Lab → · Contrast checker → · Palette generator →

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