#62268D#62268D

#62268D is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.163 H 307.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#62268D
RGBrgb(98, 38, 141)
HSLhsl(275, 58%, 35%)
HSVhsv(275, 73%, 55%)
CMYKcmyk(30.5%, 73%, 0%, 44.7%)
CIE-LABlab(29.17, 45.48, -45.84)
CIE-LCHlch(29.17, 64.57, 314.77°)
OKLaboklab(40.96% 0.0987 -0.1301)
OKLCHoklch(40.96% 0.163 307.2)
XYZxyz(10.5368, 5.9061, 25.7790)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62268D #518D26
analogous
#2E268D #62268D #8D2685
triadic
#62268D #8D6226 #268D62
tetradic
#62268D #8D2E26 #518D26 #26858D
square
#62268D #8D2E26 #518D26 #26858D
split-complementary
#62268D #858D26 #268D2E
monochromatic
#1F0C2D #40195D #62268D #8433BD #A15BD3

Accessibility & contrast

On white

9.63
#62268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#62268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62268D
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62268D#FFFFFF#000000##FFFFFF
##62268D1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#03458B
Tritanopia (blue-blind)
#5B3E57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #62268d;
/* rgb */ color: rgb(98, 38, 141);
/* oklch */ color: oklch(41.0% 0.163 307.2);
Tailwind
colors: {
  custom: {
    50: '#9366af',
    500: '#62268d',
    950: '#000000',
  },
}
SCSS
$custom: #62268d;
$custom-light: #9366af;
$custom-dark: #000000;
JSON
{
  "hex": "#62268d",
  "rgb": {
    "r": 98,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 274.951,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40964,
    "c": 0.16329,
    "h": 307.2
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#62268D
secondary
#7FB857
accent
#E14787
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #62268D

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

Preview Lab → · Contrast checker → · Palette generator →

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