#2A0F47#2A0F47

#2A0F47 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.099 H 301.5°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#2A0F47
RGBrgb(42, 15, 71)
HSLhsl(269, 65%, 17%)
HSVhsv(269, 79%, 28%)
CMYKcmyk(40.8%, 78.9%, 0%, 72.2%)
CIE-LABlab(11.20, 26.61, -29.59)
CIE-LCHlch(11.20, 39.80, 311.96°)
OKLaboklab(24.63% 0.0516 -0.0843)
OKLCHoklch(24.63% 0.099 301.5)
XYZxyz(2.2627, 1.2888, 6.0896)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F47 #2C470F
analogous
#0F1047 #2A0F47 #460F47
triadic
#2A0F47 #472A0F #0F472A
tetradic
#2A0F47 #470F10 #2C470F #0F4746
square
#2A0F47 #470F10 #2C470F #0F4746
split-complementary
#2A0F47 #47460F #10470F
monochromatic
#0F0519 #0F0519 #2A0F47 #481A7A #6624AC

Accessibility & contrast

On white

16.70
#2A0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0F47
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F47#FFFFFF#000000##FFFFFF
##2A0F471.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a0f47;
/* rgb */ color: rgb(42, 15, 71);
/* oklch */ color: oklch(24.6% 0.099 301.5);
Tailwind
colors: {
  custom: {
    50: '#67507b',
    500: '#2a0f47',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f47;
$custom-light: #67507b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f47",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 268.929,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24627,
    "c": 0.09885,
    "h": 301.5
  },
  "luminance": 0.01289
}

Semantic roles & 50–950 ramp

primary
#2A0F47
secondary
#5A8130
accent
#E84097
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2A0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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