#3A1960#3A1960

#3A1960 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.4% C 0.119 H 300.7°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#3A1960
RGBrgb(58, 25, 96)
HSLhsl(268, 59%, 24%)
HSVhsv(268, 74%, 38%)
CMYKcmyk(39.6%, 74%, 0%, 62.4%)
CIE-LABlab(17.64, 31.81, -36.02)
CIE-LCHlch(17.64, 48.06, 311.45°)
OKLaboklab(30.41% 0.061 -0.1026)
OKLCHoklch(30.41% 0.119 300.7)
XYZxyz(4.2034, 2.4393, 11.3134)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1960 #3F6019
analogous
#191B60 #3A1960 #5D1960
triadic
#3A1960 #603A19 #19603A
tetradic
#3A1960 #60191B #3F6019 #19605D
square
#3A1960 #60191B #3F6019 #19605D
split-complementary
#3A1960 #605D19 #1B6019
monochromatic
#0F0618 #1D0C2F #3A1960 #572691 #7532C1

Accessibility & contrast

On white

14.11
#3A1960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3A1960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1960
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1960#FFFFFF#000000##FFFFFF
##3A19601.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#322A3A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3a1960;
/* rgb */ color: rgb(58, 25, 96);
/* oklch */ color: oklch(30.4% 0.119 300.7);
Tailwind
colors: {
  custom: {
    50: '#74598e',
    500: '#3a1960',
    950: '#000000',
  },
}
SCSS
$custom: #3a1960;
$custom-light: #74598e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1960",
  "rgb": {
    "r": 58,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 267.887,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30406,
    "c": 0.11939,
    "h": 300.7
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#3A1960
secondary
#6D963F
accent
#E24699
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #3A1960

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

Preview Lab → · Contrast checker → · Palette generator →

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