#351263#351263

#351263 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.131 H 297.0°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#351263
RGBrgb(53, 18, 99)
HSLhsl(266, 69%, 23%)
HSVhsv(266, 82%, 39%)
CMYKcmyk(46.5%, 81.8%, 0%, 61.2%)
CIE-LABlab(15.95, 35.25, -40.79)
CIE-LCHlch(15.95, 53.91, 310.83°)
OKLaboklab(29.15% 0.0594 -0.1168)
OKLCHoklch(29.15% 0.131 297)
XYZxyz(3.9360, 2.0903, 11.9980)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351263 #406312
analogous
#121763 #351263 #5D1263
triadic
#351263 #633512 #126335
tetradic
#351263 #631217 #406312 #12635D
square
#351263 #631217 #406312 #12635D
split-complementary
#351263 #635D12 #176312
monochromatic
#0E051A #19092F #351263 #511B97 #6C25CB

Accessibility & contrast

On white

14.81
#351263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#351263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351263
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351263#FFFFFF#000000##FFFFFF
##3512631.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002761
Tritanopia (blue-blind)
#29283A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #351263;
/* rgb */ color: rgb(53, 18, 99);
/* oklch */ color: oklch(29.1% 0.131 297.0);
Tailwind
colors: {
  custom: {
    50: '#725490',
    500: '#351263',
    950: '#000000',
  },
}
SCSS
$custom: #351263;
$custom-light: #725490;
$custom-dark: #000000;
JSON
{
  "hex": "#351263",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 265.926,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29146,
    "c": 0.13106,
    "h": 297
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#351263
secondary
#6F9B36
accent
#EC3CA0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #351263

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

Preview Lab → · Contrast checker → · Palette generator →

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