#702F9F#702F9F

#702F9F is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.175 H 307.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#702F9F
RGBrgb(112, 47, 159)
HSLhsl(275, 54%, 40%)
HSVhsv(275, 70%, 62%)
CMYKcmyk(29.6%, 70.4%, 0%, 37.6%)
CIE-LABlab(33.94, 48.50, -49.04)
CIE-LCHlch(33.94, 68.98, 314.68°)
OKLaboklab(45.2% 0.106 -0.1391)
OKLCHoklch(45.2% 0.175 307.3)
XYZxyz(13.9553, 7.9812, 33.5995)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F9F #5E9F2F
analogous
#382F9F #702F9F #9F2F96
triadic
#702F9F #9F702F #2F9F70
tetradic
#702F9F #9F382F #5E9F2F #2F969F
square
#702F9F #9F382F #5E9F2F #2F969F
split-complementary
#702F9F #969F2F #2F9F38
monochromatic
#2D1341 #4F2170 #702F9F #9044C8 #AC73D6

Accessibility & contrast

On white

8.09
#702F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#702F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F9F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F9F#FFFFFF#000000##FFFFFF
##702F9F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#0F509D
Tritanopia (blue-blind)
#684863
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702f9f;
/* rgb */ color: rgb(112, 47, 159);
/* oklch */ color: oklch(45.2% 0.175 307.3);
Tailwind
colors: {
  custom: {
    50: '#9d6dbc',
    500: '#702f9f',
    950: '#000000',
  },
}
SCSS
$custom: #702f9f;
$custom-light: #9d6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#702f9f",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 274.821,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45197,
    "c": 0.17484,
    "h": 307.3
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#702F9F
secondary
#8EBD6D
accent
#DE4A88
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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