#351E7A#351E7A

#351E7A is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.146 H 286.9°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#351E7A
RGBrgb(53, 30, 122)
HSLhsl(255, 61%, 30%)
HSVhsv(255, 75%, 48%)
CMYKcmyk(56.6%, 75.4%, 0%, 52.2%)
CIE-LABlab(20.40, 35.83, -48.44)
CIE-LCHlch(20.40, 60.26, 306.49°)
OKLaboklab(32.96% 0.0423 -0.1393)
OKLCHoklch(32.96% 0.146 286.9)
XYZxyz(5.4443, 3.0903, 18.7182)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E7A #637A1E
analogous
#1E357A #351E7A #631E7A
triadic
#351E7A #7A351E #1E7A35
tetradic
#351E7A #7A1E35 #637A1E #1E7A63
square
#351E7A #7A1E35 #637A1E #1E7A63
split-complementary
#351E7A #7A631E #357A1E
monochromatic
#0B0619 #201249 #351E7A #4A2AAB #6642D0

Accessibility & contrast

On white

12.98
#351E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#351E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E7A
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E7A#FFFFFF#000000##FFFFFF
##351E7A1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#18374A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351e7a;
/* rgb */ color: rgb(53, 30, 122);
/* oklch */ color: oklch(33.0% 0.146 286.9);
Tailwind
colors: {
  custom: {
    50: '#755ca1',
    500: '#351e7a',
    950: '#000000',
  },
}
SCSS
$custom: #351e7a;
$custom-light: #755ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#351e7a",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 255,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32964,
    "c": 0.14561,
    "h": 286.9
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#351E7A
secondary
#94AE46
accent
#E444BC
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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