#351865#351865

#351865 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.1% C 0.126 H 294.8°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#351865
RGBrgb(53, 24, 101)
HSLhsl(263, 62%, 25%)
HSVhsv(263, 76%, 40%)
CMYKcmyk(47.5%, 76.2%, 0%, 60.4%)
CIE-LABlab(17.22, 32.76, -40.04)
CIE-LCHlch(17.22, 51.73, 309.29°)
OKLaboklab(30.1% 0.053 -0.1146)
OKLCHoklch(30.1% 0.126 294.8)
XYZxyz(4.1432, 2.3496, 12.5446)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351865 #486518
analogous
#182265 #351865 #5C1865
triadic
#351865 #653518 #186535
tetradic
#351865 #651822 #486518 #18655C
square
#351865 #651822 #486518 #18655C
split-complementary
#351865 #655C18 #226518
monochromatic
#0D0619 #1B0C34 #351865 #4F2496 #6930C8

Accessibility & contrast

On white

14.29
#351865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#351865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351865
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351865#FFFFFF#000000##FFFFFF
##3518651.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#272C3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #351865;
/* rgb */ color: rgb(53, 24, 101);
/* oklch */ color: oklch(30.1% 0.126 294.8);
Tailwind
colors: {
  custom: {
    50: '#725892',
    500: '#351865',
    950: '#000000',
  },
}
SCSS
$custom: #351865;
$custom-light: #725892;
$custom-dark: #000000;
JSON
{
  "hex": "#351865",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 262.597,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30099,
    "c": 0.12631,
    "h": 294.8
  },
  "luminance": 0.0235
}

Semantic roles & 50–950 ramp

primary
#351865
secondary
#789B3E
accent
#E543A8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351865

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

Preview Lab → · Contrast checker → · Palette generator →

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