#62309D#62309D

#62309D is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.168 H 300.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#62309D
RGBrgb(98, 48, 157)
HSLhsl(268, 53%, 40%)
HSVhsv(268, 69%, 62%)
CMYKcmyk(37.6%, 69.4%, 0%, 38.4%)
CIE-LABlab(32.13, 44.59, -50.85)
CIE-LCHlch(32.13, 67.63, 311.25°)
OKLaboklab(43.46% 0.0854 -0.1449)
OKLCHoklch(43.46% 0.168 300.5)
XYZxyz(12.1783, 7.1448, 32.6292)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62309D #6B9D30
analogous
#30349D #62309D #99309D
triadic
#62309D #9D6230 #309D62
tetradic
#62309D #9D3034 #6B9D30 #309D99
square
#62309D #9D3034 #6B9D30 #309D99
split-complementary
#62309D #9D9930 #349D30
monochromatic
#27133F #45226E #62309D #8044C6 #A073D4

Accessibility & contrast

On white

8.65
#62309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#62309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62309D
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62309D#FFFFFF#000000##FFFFFF
##62309D1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#554A63
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #62309d;
/* rgb */ color: rgb(98, 48, 157);
/* oklch */ color: oklch(43.5% 0.168 300.5);
Tailwind
colors: {
  custom: {
    50: '#946cbb',
    500: '#62309d',
    950: '#000000',
  },
}
SCSS
$custom: #62309d;
$custom-light: #946cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#62309d",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 267.523,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43458,
    "c": 0.16816,
    "h": 300.5
  },
  "luminance": 0.07145
}

Semantic roles & 50–950 ramp

primary
#62309D
secondary
#98BC6D
accent
#DD4B9A
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #62309D

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

Preview Lab → · Contrast checker → · Palette generator →

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