#702F9B#702F9B

#702F9B is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.171 H 308.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#702F9B
RGBrgb(112, 47, 155)
HSLhsl(276, 53%, 40%)
HSVhsv(276, 70%, 61%)
CMYKcmyk(27.7%, 69.7%, 0%, 39.2%)
CIE-LABlab(33.66, 47.57, -47.08)
CIE-LCHlch(33.66, 66.93, 315.30°)
OKLaboklab(44.9% 0.1065 -0.1333)
OKLCHoklch(44.9% 0.171 308.6)
XYZxyz(13.6138, 7.8446, 31.8010)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F9B #5A9B2F
analogous
#3A2F9B #702F9B #9B2F90
triadic
#702F9B #9B702F #2F9B70
tetradic
#702F9B #9B3A2F #5A9B2F #2F909B
square
#702F9B #9B3A2F #5A9B2F #2F909B
split-complementary
#702F9B #909B2F #2F9B3A
monochromatic
#2C133D #4E216C #702F9B #9142C6 #AC71D4

Accessibility & contrast

On white

8.18
#702F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#702F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F9B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F9B#FFFFFF#000000##FFFFFF
##702F9B1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#185099
Tritanopia (blue-blind)
#694761
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702f9b;
/* rgb */ color: rgb(112, 47, 155);
/* oklch */ color: oklch(44.9% 0.171 308.6);
Tailwind
colors: {
  custom: {
    50: '#9d6db9',
    500: '#702f9b',
    950: '#000000',
  },
}
SCSS
$custom: #702f9b;
$custom-light: #9d6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#702f9b",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 276.111,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44901,
    "c": 0.1706,
    "h": 308.6
  },
  "luminance": 0.07844
}

Semantic roles & 50–950 ramp

primary
#702F9B
secondary
#8BBB6A
accent
#DD4B85
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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