#351770#351770

#351770 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.141 H 291.2°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#351770
RGBrgb(53, 23, 112)
HSLhsl(260, 66%, 26%)
HSVhsv(260, 79%, 44%)
CMYKcmyk(52.7%, 79.5%, 0%, 56.1%)
CIE-LABlab(18.10, 36.54, -45.80)
CIE-LCHlch(18.10, 58.59, 308.58°)
OKLaboklab(31.04% 0.0511 -0.1315)
OKLCHoklch(31.04% 0.141 291.2)
XYZxyz(4.6984, 2.5393, 15.5687)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351770 #527017
analogous
#172670 #351770 #621770
triadic
#351770 #703517 #177035
tetradic
#351770 #701726 #527017 #177062
square
#351770 #701726 #527017 #177062
split-complementary
#351770 #706217 #267017
monochromatic
#0C0519 #1D0D3D #351770 #4D21A3 #662DD4

Accessibility & contrast

On white

13.93
#351770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#351770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351770
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351770#FFFFFF#000000##FFFFFF
##3517701.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#213043
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351770;
/* rgb */ color: rgb(53, 23, 112);
/* oklch */ color: oklch(31.0% 0.141 291.2);
Tailwind
colors: {
  custom: {
    50: '#73589a',
    500: '#351770',
    950: '#000000',
  },
}
SCSS
$custom: #351770;
$custom-light: #73589a;
$custom-dark: #000000;
JSON
{
  "hex": "#351770",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 112
  },
  "hsl": {
    "h": 260.225,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31038,
    "c": 0.14109,
    "h": 291.2
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#351770
secondary
#82A63D
accent
#E93FB0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351770

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

Preview Lab → · Contrast checker → · Palette generator →

#351770 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva