#351B72#351B72

#351B72 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.139 H 289.7°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#351B72
RGBrgb(53, 27, 114)
HSLhsl(258, 62%, 28%)
HSVhsv(258, 76%, 45%)
CMYKcmyk(53.5%, 76.3%, 0%, 55.3%)
CIE-LABlab(19.04, 35.03, -45.55)
CIE-LCHlch(19.04, 57.46, 307.56°)
OKLaboklab(31.76% 0.047 -0.1308)
OKLCHoklch(31.76% 0.139 289.7)
XYZxyz(4.8965, 2.7554, 16.1902)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B72 #58721B
analogous
#1B2D72 #351B72 #601B72
triadic
#351B72 #72351B #1B7235
tetradic
#351B72 #721B2D #58721B #1B7260
square
#351B72 #721B2D #58721B #1B7260
split-complementary
#351B72 #72601B #2D721B
monochromatic
#0C0619 #1E0F41 #351B72 #4C27A3 #6538D0

Accessibility & contrast

On white

13.54
#351B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#351B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B72
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B72#FFFFFF#000000##FFFFFF
##351B721.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002C70
Tritanopia (blue-blind)
#1F3245
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351b72;
/* rgb */ color: rgb(53, 27, 114);
/* oklch */ color: oklch(31.8% 0.139 289.7);
Tailwind
colors: {
  custom: {
    50: '#735a9b',
    500: '#351b72',
    950: '#000000',
  },
}
SCSS
$custom: #351b72;
$custom-light: #735a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#351b72",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 257.931,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3176,
    "c": 0.139,
    "h": 289.7
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#351B72
secondary
#89A742
accent
#E543B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351B72

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

Preview Lab → · Contrast checker → · Palette generator →

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