#3A1364#3A1364

#3A1364 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.132 H 300.3°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#3A1364
RGBrgb(58, 19, 100)
HSLhsl(269, 68%, 23%)
HSVhsv(269, 81%, 39%)
CMYKcmyk(42%, 81%, 0%, 60.8%)
CIE-LABlab(16.92, 35.96, -39.85)
CIE-LCHlch(16.92, 53.67, 312.06°)
OKLaboklab(30.01% 0.0664 -0.1138)
OKLCHoklch(30.01% 0.132 300.3)
XYZxyz(4.2775, 2.2853, 12.2699)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1364 #3D6413
analogous
#131464 #3A1364 #621364
triadic
#3A1364 #643A13 #13643A
tetradic
#3A1364 #641314 #3D6413 #136462
square
#3A1364 #641314 #3D6413 #136462
split-complementary
#3A1364 #646213 #146413
monochromatic
#0F051A #1C0931 #3A1364 #581D97 #7627CB

Accessibility & contrast

On white

14.41
#3A1364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3A1364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1364
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1364#FFFFFF#000000##FFFFFF
##3A13641.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#30283B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3a1364;
/* rgb */ color: rgb(58, 19, 100);
/* oklch */ color: oklch(30.0% 0.132 300.3);
Tailwind
colors: {
  custom: {
    50: '#755591',
    500: '#3a1364',
    950: '#000000',
  },
}
SCSS
$custom: #3a1364;
$custom-light: #755591;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1364",
  "rgb": {
    "r": 58,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 268.889,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30006,
    "c": 0.1318,
    "h": 300.3
  },
  "luminance": 0.02285
}

Semantic roles & 50–950 ramp

primary
#3A1364
secondary
#6B9C37
accent
#EB3D97
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3A1364

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

Preview Lab → · Contrast checker → · Palette generator →

#3A1364 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva