#62309B#62309B

#62309B is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.166 H 301.1°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#62309B
RGBrgb(98, 48, 155)
HSLhsl(268, 53%, 40%)
HSVhsv(268, 69%, 61%)
CMYKcmyk(36.8%, 69%, 0%, 39.2%)
CIE-LABlab(31.98, 44.08, -49.88)
CIE-LCHlch(31.98, 66.56, 311.47°)
OKLaboklab(43.3% 0.0857 -0.142)
OKLCHoklch(43.3% 0.166 301.1)
XYZxyz(12.0089, 7.0771, 31.7373)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62309B #699B30
analogous
#30349B #62309B #97309B
triadic
#62309B #9B6230 #309B62
tetradic
#62309B #9B3034 #699B30 #309B97
square
#62309B #9B3034 #699B30 #309B97
split-complementary
#62309B #9B9730 #349B30
monochromatic
#27133E #44226C #62309B #8043C5 #A072D3

Accessibility & contrast

On white

8.69
#62309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#62309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62309B
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62309B#FFFFFF#000000##FFFFFF
##62309B1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#564961
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #62309b;
/* rgb */ color: rgb(98, 48, 155);
/* oklch */ color: oklch(43.3% 0.166 301.1);
Tailwind
colors: {
  custom: {
    50: '#936cb9',
    500: '#62309b',
    950: '#000000',
  },
}
SCSS
$custom: #62309b;
$custom-light: #936cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#62309b",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 268.037,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43301,
    "c": 0.16586,
    "h": 301.1
  },
  "luminance": 0.07077
}

Semantic roles & 50–950 ramp

primary
#62309B
secondary
#96BB6C
accent
#DC4C99
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #62309B

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

Preview Lab → · Contrast checker → · Palette generator →

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