#3A1465#3A1465

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

Color values

HEX#3A1465
RGBrgb(58, 20, 101)
HSLhsl(268, 67%, 24%)
HSVhsv(268, 80%, 40%)
CMYKcmyk(42.6%, 80.2%, 0%, 60.4%)
CIE-LABlab(17.18, 35.76, -40.09)
CIE-LCHlch(17.18, 53.72, 311.74°)
OKLaboklab(30.21% 0.0652 -0.1146)
OKLCHoklch(30.21% 0.132 299.6)
XYZxyz(4.3435, 2.3394, 12.5321)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1465 #3F6514
analogous
#141665 #3A1465 #621465
triadic
#3A1465 #653A14 #14653A
tetradic
#3A1465 #651416 #3F6514 #146562
square
#3A1465 #651416 #3F6514 #146562
split-complementary
#3A1465 #656214 #166514
monochromatic
#0F051A #1D0A32 #3A1465 #571E98 #7528CB

Accessibility & contrast

On white

14.31
#3A1465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3A1465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1465
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1465#FFFFFF#000000##FFFFFF
##3A14651.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a1465;
/* rgb */ color: rgb(58, 20, 101);
/* oklch */ color: oklch(30.2% 0.132 299.6);
Tailwind
colors: {
  custom: {
    50: '#755692',
    500: '#3a1465',
    950: '#000000',
  },
}
SCSS
$custom: #3a1465;
$custom-light: #755692;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1465",
  "rgb": {
    "r": 58,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 268.148,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30215,
    "c": 0.1318,
    "h": 299.6
  },
  "luminance": 0.02339
}

Semantic roles & 50–950 ramp

primary
#3A1465
secondary
#6D9C39
accent
#EA3E99
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3A1465

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

Preview Lab → · Contrast checker → · Palette generator →

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