#3A0E67#3A0E67

#3A0E67 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.140 H 299.8°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#3A0E67
RGBrgb(58, 14, 103)
HSLhsl(270, 76%, 23%)
HSVhsv(270, 86%, 40%)
CMYKcmyk(43.7%, 86.4%, 0%, 59.6%)
CIE-LABlab(16.47, 38.89, -42.56)
CIE-LCHlch(16.47, 57.66, 312.42°)
OKLaboklab(29.78% 0.0697 -0.1218)
OKLCHoklch(29.78% 0.14 299.8)
XYZxyz(4.3495, 2.1928, 13.0234)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E67 #3B670E
analogous
#0E0E67 #3A0E67 #660E67
triadic
#3A0E67 #673A0E #0E673A
tetradic
#3A0E67 #670E0E #3B670E #0E6766
square
#3A0E67 #670E0E #3B670E #0E6766
split-complementary
#3A0E67 #67660E #0E670E
monochromatic
#0F041B #1C0731 #3A0E67 #58159D #771DD3

Accessibility & contrast

On white

14.60
#3A0E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3A0E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0E67
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E67#FFFFFF#000000##FFFFFF
##3A0E671.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002865
Tritanopia (blue-blind)
#2F283B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3a0e67;
/* rgb */ color: rgb(58, 14, 103);
/* oklch */ color: oklch(29.8% 0.140 299.8);
Tailwind
colors: {
  custom: {
    50: '#765393',
    500: '#3a0e67',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e67;
$custom-light: #765393;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e67",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 103
  },
  "hsl": {
    "h": 269.663,
    "s": 76.068,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2978,
    "c": 0.14034,
    "h": 299.8
  },
  "luminance": 0.02193
}

Semantic roles & 50–950 ramp

primary
#3A0E67
secondary
#69A031
accent
#F33595
background
#F7F5F9
surface
#EDE8F1
border
#C8C4CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3A0E67

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

Preview Lab → · Contrast checker → · Palette generator →

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