#3A2A67#3A2A67

#3A2A67 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.8% C 0.103 H 292.1°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#3A2A67
RGBrgb(58, 42, 103)
HSLhsl(256, 42%, 28%)
HSVhsv(256, 59%, 40%)
CMYKcmyk(43.7%, 59.2%, 0%, 59.6%)
CIE-LABlab(22.07, 23.51, -33.47)
CIE-LCHlch(22.07, 40.90, 305.09°)
OKLaboklab(33.8% 0.0386 -0.0952)
OKLCHoklch(33.8% 0.103 292.1)
XYZxyz(5.0204, 3.5346, 13.2471)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2A67 #57672A
analogous
#2A3867 #3A2A67 #582A67
triadic
#3A2A67 #673A2A #2A673A
tetradic
#3A2A67 #672A38 #57672A #2A6758
square
#3A2A67 #672A38 #57672A #2A6758
split-complementary
#3A2A67 #67582A #38672A
monochromatic
#0C0916 #22183C #3A2A67 #523C92 #6D53B9

Accessibility & contrast

On white

12.30
#3A2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3A2A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2A67
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2A67#FFFFFF#000000##FFFFFF
##3A2A671.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3669
Deuteranopia (green-blind)
#0E3466
Tritanopia (blue-blind)
#2E3744
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3a2a67;
/* rgb */ color: rgb(58, 42, 103);
/* oklch */ color: oklch(33.8% 0.103 292.1);
Tailwind
colors: {
  custom: {
    50: '#746493',
    500: '#3a2a67',
    950: '#000000',
  },
}
SCSS
$custom: #3a2a67;
$custom-light: #746493;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2a67",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 255.738,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33797,
    "c": 0.10269,
    "h": 292.1
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

primary
#3A2A67
secondary
#879954
accent
#D256B1
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08050D
muted
#7B7A7E

Preview Lab

Preview with #3A2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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