#3A1468#3A1468

#3A1468 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.135 H 298.4°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#3A1468
RGBrgb(58, 20, 104)
HSLhsl(267, 68%, 24%)
HSVhsv(267, 81%, 41%)
CMYKcmyk(44.2%, 80.8%, 0%, 59.2%)
CIE-LABlab(17.46, 36.58, -41.60)
CIE-LCHlch(17.46, 55.39, 311.32°)
OKLaboklab(30.5% 0.0643 -0.119)
OKLCHoklch(30.5% 0.135 298.4)
XYZxyz(4.4931, 2.3993, 13.3204)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1468 #426814
analogous
#141868 #3A1468 #641468
triadic
#3A1468 #683A14 #14683A
tetradic
#3A1468 #681418 #426814 #146864
square
#3A1468 #681418 #426814 #146864
split-complementary
#3A1468 #686414 #186814
monochromatic
#0E051A #1D0A35 #3A1468 #571E9B #7328CF

Accessibility & contrast

On white

14.19
#3A1468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3A1468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1468
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1468#FFFFFF#000000##FFFFFF
##3A14681.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#2E2A3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3a1468;
/* rgb */ color: rgb(58, 20, 104);
/* oklch */ color: oklch(30.5% 0.135 298.4);
Tailwind
colors: {
  custom: {
    50: '#755694',
    500: '#3a1468',
    950: '#000000',
  },
}
SCSS
$custom: #3a1468;
$custom-light: #755694;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1468",
  "rgb": {
    "r": 58,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 267.143,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30498,
    "c": 0.13528,
    "h": 298.4
  },
  "luminance": 0.02399
}

Semantic roles & 50–950 ramp

primary
#3A1468
secondary
#719F39
accent
#EB3D9C
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3A1468

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

Preview Lab → · Contrast checker → · Palette generator →

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