#351E70#351E70

#351E70 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.0% C 0.133 H 289.6°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#351E70
RGBrgb(53, 30, 112)
HSLhsl(257, 58%, 28%)
HSVhsv(257, 73%, 44%)
CMYKcmyk(52.7%, 73.2%, 0%, 56.1%)
CIE-LABlab(19.45, 32.72, -43.57)
CIE-LCHlch(19.45, 54.49, 306.90°)
OKLaboklab(32% 0.0445 -0.125)
OKLCHoklch(32% 0.133 289.6)
XYZxyz(4.8563, 2.8551, 15.6213)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E70 #59701E
analogous
#1E3070 #351E70 #5E1E70
triadic
#351E70 #70351E #1E7035
tetradic
#351E70 #701E30 #59701E #1E705E
square
#351E70 #701E30 #59701E #1E705E
split-complementary
#351E70 #705E1E #30701E
monochromatic
#0B0618 #1E1140 #351E70 #4C2BA0 #653DCB

Accessibility & contrast

On white

13.37
#351E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#351E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E70
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E70#FFFFFF#000000##FFFFFF
##351E701.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#203344
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351e70;
/* rgb */ color: rgb(53, 30, 112);
/* oklch */ color: oklch(32.0% 0.133 289.6);
Tailwind
colors: {
  custom: {
    50: '#735c9a',
    500: '#351e70',
    950: '#000000',
  },
}
SCSS
$custom: #351e70;
$custom-light: #735c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#351e70",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 256.829,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31998,
    "c": 0.13273,
    "h": 289.6
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#351E70
secondary
#8AA446
accent
#E147B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #351E70

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

Preview Lab → · Contrast checker → · Palette generator →

#351E70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva