#702F95#702F95

#702F95 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.164 H 310.7°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#702F95
RGBrgb(112, 47, 149)
HSLhsl(278, 52%, 38%)
HSVhsv(278, 68%, 58%)
CMYKcmyk(24.8%, 68.5%, 0%, 41.6%)
CIE-LABlab(33.24, 46.19, -44.10)
CIE-LCHlch(33.24, 63.86, 316.32°)
OKLaboklab(44.47% 0.1071 -0.1245)
OKLCHoklch(44.47% 0.164 310.7)
XYZxyz(13.1224, 7.6480, 29.2129)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F95 #54952F
analogous
#3D2F95 #702F95 #952F87
triadic
#702F95 #95702F #2F9570
tetradic
#702F95 #953D2F #54952F #2F8795
square
#702F95 #953D2F #54952F #2F8795
split-complementary
#702F95 #87952F #2F953D
monochromatic
#2A1238 #4D2066 #702F95 #933FC2 #AD6DD1

Accessibility & contrast

On white

8.30
#702F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#702F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F95
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F95#FFFFFF#000000##FFFFFF
##702F951.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#214F93
Tritanopia (blue-blind)
#6B445E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702f95;
/* rgb */ color: rgb(112, 47, 149);
/* oklch */ color: oklch(44.5% 0.164 310.7);
Tailwind
colors: {
  custom: {
    50: '#9d6db5',
    500: '#702f95',
    950: '#000000',
  },
}
SCSS
$custom: #702f95;
$custom-light: #9d6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#702f95",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 278.235,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44469,
    "c": 0.16426,
    "h": 310.7
  },
  "luminance": 0.07648
}

Semantic roles & 50–950 ramp

primary
#702F95
secondary
#85B867
accent
#DB4C80
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #702F95

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

Preview Lab → · Contrast checker → · Palette generator →

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