#2A0F46#2A0F46

#2A0F46 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.098 H 302.0°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#2A0F46
RGBrgb(42, 15, 70)
HSLhsl(269, 65%, 17%)
HSVhsv(269, 79%, 27%)
CMYKcmyk(40%, 78.6%, 0%, 72.5%)
CIE-LABlab(11.11, 26.32, -29.04)
CIE-LCHlch(11.11, 39.19, 312.18°)
OKLaboklab(24.54% 0.0518 -0.0827)
OKLCHoklch(24.54% 0.098 302)
XYZxyz(2.2309, 1.2761, 5.9219)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F46 #2B460F
analogous
#0F0F46 #2A0F46 #460F46
triadic
#2A0F46 #462A0F #0F462A
tetradic
#2A0F46 #460F0F #2B460F #0F4646
square
#2A0F46 #460F0F #2B460F #0F4646
split-complementary
#2A0F46 #46460F #0F460F
monochromatic
#0F0519 #0F0519 #2A0F46 #481A78 #6625AB

Accessibility & contrast

On white

16.73
#2A0F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2A0F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0F46
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F46#FFFFFF#000000##FFFFFF
##2A0F461.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#241C29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2a0f46;
/* rgb */ color: rgb(42, 15, 70);
/* oklch */ color: oklch(24.5% 0.098 302.0);
Tailwind
colors: {
  custom: {
    50: '#67507a',
    500: '#2a0f46',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f46;
$custom-light: #67507a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f46",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 269.455,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24535,
    "c": 0.09758,
    "h": 302
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#2A0F46
secondary
#598030
accent
#E84095
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2A0F46

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

Preview Lab → · Contrast checker → · Palette generator →

#2A0F46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva