#351B70#351B70

#351B70 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.136 H 290.3°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#351B70
RGBrgb(53, 27, 112)
HSLhsl(258, 61%, 27%)
HSVhsv(258, 76%, 44%)
CMYKcmyk(52.7%, 75.9%, 0%, 56.1%)
CIE-LABlab(18.84, 34.42, -44.57)
CIE-LCHlch(18.84, 56.31, 307.67°)
OKLaboklab(31.57% 0.0474 -0.128)
OKLCHoklch(31.57% 0.136 290.3)
XYZxyz(4.7839, 2.7104, 15.5972)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B70 #56701B
analogous
#1B2C70 #351B70 #601B70
triadic
#351B70 #70351B #1B7035
tetradic
#351B70 #701B2C #56701B #1B7060
square
#351B70 #701B2C #56701B #1B7060
split-complementary
#351B70 #70601B #2C701B
monochromatic
#0C0619 #1E0F3F #351B70 #4C27A1 #6537CF

Accessibility & contrast

On white

13.62
#351B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#351B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B70
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B70#FFFFFF#000000##FFFFFF
##351B701.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#213244
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351b70;
/* rgb */ color: rgb(53, 27, 112);
/* oklch */ color: oklch(31.6% 0.136 290.3);
Tailwind
colors: {
  custom: {
    50: '#735a9a',
    500: '#351b70',
    950: '#000000',
  },
}
SCSS
$custom: #351b70;
$custom-light: #735a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#351b70",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 258.353,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31565,
    "c": 0.13647,
    "h": 290.3
  },
  "luminance": 0.02711
}

Semantic roles & 50–950 ramp

primary
#351B70
secondary
#87A542
accent
#E444B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351B70

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

Preview Lab → · Contrast checker → · Palette generator →

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