#702F9C#702F9C

#702F9C is a dark, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.172 H 308.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#702F9C
RGBrgb(112, 47, 156)
HSLhsl(276, 54%, 40%)
HSVhsv(276, 70%, 61%)
CMYKcmyk(28.2%, 69.9%, 0%, 38.8%)
CIE-LABlab(33.73, 47.80, -47.57)
CIE-LCHlch(33.73, 67.44, 315.14°)
OKLaboklab(44.98% 0.1064 -0.1347)
OKLCHoklch(44.98% 0.172 308.3)
XYZxyz(13.6981, 7.8783, 32.2451)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F9C #5B9C2F
analogous
#3A2F9C #702F9C #9C2F92
triadic
#702F9C #9C702F #2F9C70
tetradic
#702F9C #9C3A2F #5B9C2F #2F929C
square
#702F9C #9C3A2F #5B9C2F #2F929C
split-complementary
#702F9C #929C2F #2F9C3A
monochromatic
#2C133E #4E216D #702F9C #9142C6 #AC71D4

Accessibility & contrast

On white

8.15
#702F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#702F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F9C
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F9C#FFFFFF#000000##FFFFFF
##702F9C1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#16509A
Tritanopia (blue-blind)
#694762
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702f9c;
/* rgb */ color: rgb(112, 47, 156);
/* oklch */ color: oklch(45.0% 0.172 308.3);
Tailwind
colors: {
  custom: {
    50: '#9d6dba',
    500: '#702f9c',
    950: '#000000',
  },
}
SCSS
$custom: #702f9c;
$custom-light: #9d6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#702f9c",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 275.78,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44975,
    "c": 0.17166,
    "h": 308.3
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#702F9C
secondary
#8CBC6B
accent
#DD4B86
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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