#3A2467#3A2467

#3A2467 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.7% C 0.112 H 294.5°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#3A2467
RGBrgb(58, 36, 103)
HSLhsl(260, 48%, 27%)
HSVhsv(260, 65%, 40%)
CMYKcmyk(43.7%, 65%, 0%, 59.6%)
CIE-LABlab(20.60, 27.36, -35.84)
CIE-LCHlch(20.60, 45.09, 307.36°)
OKLaboklab(32.72% 0.0466 -0.1021)
OKLCHoklch(32.72% 0.112 294.5)
XYZxyz(4.8233, 3.1405, 13.1814)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2467 #516724
analogous
#243067 #3A2467 #5B2467
triadic
#3A2467 #673A24 #24673A
tetradic
#3A2467 #672430 #516724 #24675B
square
#3A2467 #672430 #516724 #24675B
split-complementary
#3A2467 #675B24 #306724
monochromatic
#0D0817 #20143A #3A2467 #543494 #6E47BF

Accessibility & contrast

On white

12.90
#3A2467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3A2467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2467
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2467#FFFFFF#000000##FFFFFF
##3A24671.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#003166
Tritanopia (blue-blind)
#2E3341
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3a2467;
/* rgb */ color: rgb(58, 36, 103);
/* oklch */ color: oklch(32.7% 0.112 294.5);
Tailwind
colors: {
  custom: {
    50: '#746093',
    500: '#3a2467',
    950: '#000000',
  },
}
SCSS
$custom: #3a2467;
$custom-light: #746093;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2467",
  "rgb": {
    "r": 58,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 259.701,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32718,
    "c": 0.11225,
    "h": 294.5
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#3A2467
secondary
#819A4C
accent
#D850AB
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08050D
muted
#7B797E

Preview Lab

Preview with #3A2467

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

Preview Lab → · Contrast checker → · Palette generator →

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