#351F92#351F92

#351F92 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.174 H 281.6°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#351F92
RGBrgb(53, 31, 146)
HSLhsl(251, 65%, 35%)
HSVhsv(251, 79%, 57%)
CMYKcmyk(63.7%, 78.8%, 0%, 42.7%)
CIE-LABlab(23.04, 42.75, -59.19)
CIE-LCHlch(23.04, 73.01, 305.84°)
OKLaboklab(35.56% 0.0351 -0.1708)
OKLCHoklch(35.56% 0.174 281.6)
XYZxyz(7.1449, 3.8117, 27.5478)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351F92 #7C921F
analogous
#1F4392 #351F92 #6E1F92
triadic
#351F92 #92351F #1F9235
tetradic
#351F92 #921F43 #7C921F #1F926E
square
#351F92 #921F43 #7C921F #1F926E
split-complementary
#351F92 #926E1F #43921F
monochromatic
#100A2D #231460 #351F92 #472AC4 #6B51DA

Accessibility & contrast

On white

11.92
#351F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#351F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351F92
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351F92#FFFFFF#000000##FFFFFF
##351F921.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #351f92;
/* rgb */ color: rgb(53, 31, 146);
/* oklch */ color: oklch(35.6% 0.174 281.6);
Tailwind
colors: {
  custom: {
    50: '#795eb3',
    500: '#351f92',
    950: '#000000',
  },
}
SCSS
$custom: #351f92;
$custom-light: #795eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#351f92",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 251.478,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35558,
    "c": 0.17433,
    "h": 281.6
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#351F92
secondary
#A8BD50
accent
#E840C8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #351F92

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

Preview Lab → · Contrast checker → · Palette generator →

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