#351267#351267

#351267 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.136 H 295.4°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#351267
RGBrgb(53, 18, 103)
HSLhsl(265, 70%, 24%)
HSVhsv(265, 83%, 40%)
CMYKcmyk(48.5%, 82.5%, 0%, 59.6%)
CIE-LABlab(16.35, 36.38, -42.78)
CIE-LCHlch(16.35, 56.16, 310.37°)
OKLaboklab(29.54% 0.0582 -0.1227)
OKLCHoklch(29.54% 0.136 295.4)
XYZxyz(4.1320, 2.1687, 13.0302)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351267 #446712
analogous
#121967 #351267 #5F1267
triadic
#351267 #673512 #126735
tetradic
#351267 #671219 #446712 #12675F
square
#351267 #671219 #446712 #12675F
split-complementary
#351267 #675F12 #196712
monochromatic
#0D051A #1A0933 #351267 #501B9B #6B24CF

Accessibility & contrast

On white

14.65
#351267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#351267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351267
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351267#FFFFFF#000000##FFFFFF
##3512671.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002765
Tritanopia (blue-blind)
#272A3C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #351267;
/* rgb */ color: rgb(53, 18, 103);
/* oklch */ color: oklch(29.5% 0.136 295.4);
Tailwind
colors: {
  custom: {
    50: '#725593',
    500: '#351267',
    950: '#000000',
  },
}
SCSS
$custom: #351267;
$custom-light: #725593;
$custom-dark: #000000;
JSON
{
  "hex": "#351267",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 264.706,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29542,
    "c": 0.13575,
    "h": 295.4
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#351267
secondary
#749F36
accent
#ED3BA4
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351267

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

Preview Lab → · Contrast checker → · Palette generator →

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