#3A0A67#3A0A67

#3A0A67 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.144 H 300.3°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#3A0A67
RGBrgb(58, 10, 103)
HSLhsl(271, 82%, 22%)
HSVhsv(271, 90%, 40%)
CMYKcmyk(43.7%, 90.3%, 0%, 59.6%)
CIE-LABlab(15.98, 40.32, -43.36)
CIE-LCHlch(15.98, 59.21, 312.92°)
OKLaboklab(29.45% 0.0726 -0.1241)
OKLCHoklch(29.45% 0.144 300.3)
XYZxyz(4.3010, 2.0959, 13.0073)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0A67 #37670A
analogous
#0C0A67 #3A0A67 #670A66
triadic
#3A0A67 #673A0A #0A673A
tetradic
#3A0A67 #670C0A #37670A #0A6667
square
#3A0A67 #670C0A #37670A #0A6667
split-complementary
#3A0A67 #66670A #0A670C
monochromatic
#10031C #1B052F #3A0A67 #590F9F #7915D7

Accessibility & contrast

On white

14.80
#3A0A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3A0A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0A67
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0A67#FFFFFF#000000##FFFFFF
##3A0A671.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002769
Deuteranopia (green-blind)
#002765
Tritanopia (blue-blind)
#2F263B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3a0a67;
/* rgb */ color: rgb(58, 10, 103);
/* oklch */ color: oklch(29.4% 0.144 300.3);
Tailwind
colors: {
  custom: {
    50: '#765293',
    500: '#3a0a67',
    950: '#000000',
  },
}
SCSS
$custom: #3a0a67;
$custom-light: #765293;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0a67",
  "rgb": {
    "r": 58,
    "g": 10,
    "b": 103
  },
  "hsl": {
    "h": 270.968,
    "s": 82.301,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29445,
    "c": 0.14373,
    "h": 300.3
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#3A0A67
secondary
#64A12B
accent
#F92F91
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#09020D
muted
#7B787E

Preview Lab

Preview with #3A0A67

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

Preview Lab → · Contrast checker → · Palette generator →

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