#702268#702268

#702268 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.1% C 0.139 H 332.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#702268
RGBrgb(112, 34, 104)
HSLhsl(306, 53%, 29%)
HSVhsv(306, 70%, 44%)
CMYKcmyk(0%, 69.6%, 7.1%, 56.1%)
CIE-LABlab(28.35, 42.91, -23.65)
CIE-LCHlch(28.35, 49.00, 331.14°)
OKLaboklab(40.05% 0.1231 -0.0649)
OKLCHoklch(40.05% 0.139 332.2)
XYZxyz(9.7528, 5.5890, 13.6591)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702268 #22702A
analogous
#512270 #702268 #702241
triadic
#702268 #687022 #226870
tetradic
#702268 #705122 #22702A #224170
square
#702268 #705122 #22702A #224170
split-complementary
#702268 #417022 #227051
monochromatic
#170716 #41143C #702268 #9F3094 #C746B9

Accessibility & contrast

On white

9.92
#702268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#702268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702268
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702268#FFFFFF#000000##FFFFFF
##7022681.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3C6A
Deuteranopia (green-blind)
#3A4766
Tritanopia (blue-blind)
#752942
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #702268;
/* rgb */ color: rgb(112, 34, 104);
/* oklch */ color: oklch(40.1% 0.139 332.2);
Tailwind
colors: {
  custom: {
    50: '#9c6493',
    500: '#702268',
    950: '#000000',
  },
}
SCSS
$custom: #702268;
$custom-light: #9c6493;
$custom-dark: #000000;
JSON
{
  "hex": "#702268",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 306.154,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40053,
    "c": 0.13913,
    "h": 332.2
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#702268
secondary
#4AA354
accent
#DD5A4B
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #702268

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

Preview Lab → · Contrast checker → · Palette generator →

#702268 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva