#3A1365#3A1365

#3A1365 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.133 H 299.8°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#3A1365
RGBrgb(58, 19, 101)
HSLhsl(269, 68%, 24%)
HSVhsv(269, 81%, 40%)
CMYKcmyk(42.6%, 81.2%, 0%, 60.4%)
CIE-LABlab(17.01, 36.23, -40.35)
CIE-LCHlch(17.01, 54.23, 311.92°)
OKLaboklab(30.1% 0.0661 -0.1153)
OKLCHoklch(30.1% 0.133 299.8)
XYZxyz(4.3262, 2.3048, 12.5263)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1365 #3E6513
analogous
#131565 #3A1365 #631365
triadic
#3A1365 #653A13 #13653A
tetradic
#3A1365 #651315 #3E6513 #136563
square
#3A1365 #651315 #3E6513 #136563
split-complementary
#3A1365 #656313 #156513
monochromatic
#0F051A #1C0931 #3A1365 #581D99 #7526CC

Accessibility & contrast

On white

14.37
#3A1365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1365
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1365#FFFFFF#000000##FFFFFF
##3A13651.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#30293B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3a1365;
/* rgb */ color: rgb(58, 19, 101);
/* oklch */ color: oklch(30.1% 0.133 299.8);
Tailwind
colors: {
  custom: {
    50: '#755692',
    500: '#3a1365',
    950: '#000000',
  },
}
SCSS
$custom: #3a1365;
$custom-light: #755692;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1365",
  "rgb": {
    "r": 58,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 268.537,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.301,
    "c": 0.13295,
    "h": 299.8
  },
  "luminance": 0.02305
}

Semantic roles & 50–950 ramp

primary
#3A1365
secondary
#6C9D37
accent
#EB3D98
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3A1365

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

Preview Lab → · Contrast checker → · Palette generator →

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