#351B75#351B75

#351B75 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.143 H 288.9°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#351B75
RGBrgb(53, 27, 117)
HSLhsl(257, 63%, 28%)
HSVhsv(257, 77%, 46%)
CMYKcmyk(54.7%, 76.9%, 0%, 54.1%)
CIE-LABlab(19.33, 35.94, -47.00)
CIE-LCHlch(19.33, 59.17, 307.40°)
OKLaboklab(32.06% 0.0462 -0.1351)
OKLCHoklch(32.06% 0.143 288.9)
XYZxyz(5.0701, 2.8249, 17.1043)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B75 #5B751B
analogous
#1B2E75 #351B75 #621B75
triadic
#351B75 #75351B #1B7535
tetradic
#351B75 #751B2E #5B751B #1B7562
square
#351B75 #751B2E #5B751B #1B7562
split-complementary
#351B75 #75621B #2E751B
monochromatic
#0B0619 #1E1043 #351B75 #4C26A7 #6539D1

Accessibility & contrast

On white

13.42
#351B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351B75
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B75#FFFFFF#000000##FFFFFF
##351B751.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#1D3346
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351b75;
/* rgb */ color: rgb(53, 27, 117);
/* oklch */ color: oklch(32.1% 0.143 288.9);
Tailwind
colors: {
  custom: {
    50: '#745a9e',
    500: '#351b75',
    950: '#000000',
  },
}
SCSS
$custom: #351b75;
$custom-light: #745a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#351b75",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 117
  },
  "hsl": {
    "h": 257.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32056,
    "c": 0.14277,
    "h": 288.9
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#351B75
secondary
#8CA942
accent
#E642B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351B75

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

Preview Lab → · Contrast checker → · Palette generator →

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