#3A0F66#3A0F66

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

Color values

HEX#3A0F66
RGBrgb(58, 15, 102)
HSLhsl(270, 74%, 23%)
HSVhsv(270, 85%, 40%)
CMYKcmyk(43.1%, 85.3%, 0%, 60%)
CIE-LABlab(16.51, 38.23, -41.84)
CIE-LCHlch(16.51, 56.68, 312.42°)
OKLaboklab(29.78% 0.0693 -0.1197)
OKLCHoklch(29.78% 0.138 300.1)
XYZxyz(4.3134, 2.2005, 12.7653)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0F66 #3B660F
analogous
#0F1066 #3A0F66 #650F66
triadic
#3A0F66 #663A0F #0F663A
tetradic
#3A0F66 #660F10 #3B660F #0F6665
square
#3A0F66 #660F10 #3B660F #0F6665
split-complementary
#3A0F66 #66650F #10660F
monochromatic
#0F041B #1C0731 #3A0F66 #58179B #771FD1

Accessibility & contrast

On white

14.58
#3A0F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0F66
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0F66#FFFFFF#000000##FFFFFF
##3A0F661.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#30273B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3a0f66;
/* rgb */ color: rgb(58, 15, 102);
/* oklch */ color: oklch(29.8% 0.138 300.1);
Tailwind
colors: {
  custom: {
    50: '#765492',
    500: '#3a0f66',
    950: '#000000',
  },
}
SCSS
$custom: #3a0f66;
$custom-light: #765492;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0f66",
  "rgb": {
    "r": 58,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 269.655,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29776,
    "c": 0.13829,
    "h": 300.1
  },
  "luminance": 0.022
}

Semantic roles & 50–950 ramp

primary
#3A0F66
secondary
#699F32
accent
#F13795
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3A0F66

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

Preview Lab → · Contrast checker → · Palette generator →

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