#702D9C#702D9C

#702D9C is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.174 H 308.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#702D9C
RGBrgb(112, 45, 156)
HSLhsl(276, 55%, 39%)
HSVhsv(276, 71%, 61%)
CMYKcmyk(28.2%, 71.2%, 0%, 38.8%)
CIE-LABlab(33.40, 48.73, -48.11)
CIE-LCHlch(33.40, 68.47, 315.37°)
OKLaboklab(44.74% 0.1086 -0.1363)
OKLCHoklch(44.74% 0.174 308.5)
XYZxyz(13.6200, 7.7220, 32.2190)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D9C #599C2D
analogous
#382D9C #702D9C #9C2D91
triadic
#702D9C #9C702D #2D9C70
tetradic
#702D9C #9C382D #599C2D #2D919C
square
#702D9C #9C382D #599C2D #2D919C
split-complementary
#702D9C #919C2D #2D9C38
monochromatic
#2C123D #4E1F6D #702D9C #913FC8 #AC6ED5

Accessibility & contrast

On white

8.25
#702D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#702D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702D9C
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D9C#FFFFFF#000000##FFFFFF
##702D9C1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#134F9A
Tritanopia (blue-blind)
#694661
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702d9c;
/* rgb */ color: rgb(112, 45, 156);
/* oklch */ color: oklch(44.7% 0.174 308.5);
Tailwind
colors: {
  custom: {
    50: '#9d6cba',
    500: '#702d9c',
    950: '#000000',
  },
}
SCSS
$custom: #702d9c;
$custom-light: #9d6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#702d9c",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 276.216,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44739,
    "c": 0.17424,
    "h": 308.5
  },
  "luminance": 0.07722
}

Semantic roles & 50–950 ramp

primary
#702D9C
secondary
#8ABC68
accent
#DF4984
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702D9C

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

Preview Lab → · Contrast checker → · Palette generator →

#702D9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva