#70398D#70398D

#70398D is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.3% C 0.141 H 312.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#70398D
RGBrgb(112, 57, 141)
HSLhsl(279, 42%, 39%)
HSVhsv(279, 60%, 55%)
CMYKcmyk(20.6%, 59.6%, 0%, 44.7%)
CIE-LABlab(34.59, 39.24, -37.04)
CIE-LCHlch(34.59, 53.96, 316.66°)
OKLaboklab(45.28% 0.0947 -0.1039)
OKLCHoklch(45.28% 0.141 312.3)
XYZxyz(12.9521, 8.2944, 26.1128)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70398D #568D39
analogous
#46398D #70398D #8D3980
triadic
#70398D #8D7039 #398D70
tetradic
#70398D #8D4639 #568D39 #39808D
square
#70398D #8D4639 #568D39 #39808D
split-complementary
#70398D #808D39 #398D46
monochromatic
#2B1636 #4D2761 #70398D #924CB7 #AD78C8

Accessibility & contrast

On white

7.90
#70398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#70398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70398D
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70398D#FFFFFF#000000##FFFFFF
##70398D1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E90
Deuteranopia (green-blind)
#34538B
Tritanopia (blue-blind)
#6D485D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #70398d;
/* rgb */ color: rgb(112, 57, 141);
/* oklch */ color: oklch(45.3% 0.141 312.3);
Tailwind
colors: {
  custom: {
    50: '#9b72af',
    500: '#70398d',
    950: '#000000',
  },
}
SCSS
$custom: #70398d;
$custom-light: #9b72af;
$custom-dark: #000000;
JSON
{
  "hex": "#70398d",
  "rgb": {
    "r": 112,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 279.286,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45281,
    "c": 0.14056,
    "h": 312.3
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

primary
#70398D
secondary
#87B270
accent
#D25681
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #70398D

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

Preview Lab → · Contrast checker → · Palette generator →

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