#2A0F49#2A0F49

#2A0F49 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.101 H 300.3°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#2A0F49
RGBrgb(42, 15, 73)
HSLhsl(268, 66%, 17%)
HSVhsv(268, 79%, 29%)
CMYKcmyk(42.5%, 79.5%, 0%, 71.4%)
CIE-LABlab(11.38, 27.19, -30.69)
CIE-LCHlch(11.38, 41.00, 311.54°)
OKLaboklab(24.81% 0.0512 -0.0876)
OKLCHoklch(24.81% 0.101 300.3)
XYZxyz(2.3280, 1.3149, 6.4332)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F49 #2E490F
analogous
#0F1149 #2A0F49 #470F49
triadic
#2A0F49 #492A0F #0F492A
tetradic
#2A0F49 #490F11 #2E490F #0F4947
square
#2A0F49 #490F11 #2E490F #0F4947
split-complementary
#2A0F49 #49470F #11490F
monochromatic
#0F0519 #0F0519 #2A0F49 #47197C #6424AF

Accessibility & contrast

On white

16.63
#2A0F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0F49
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F49#FFFFFF#000000##FFFFFF
##2A0F491.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#231D2B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2a0f49;
/* rgb */ color: rgb(42, 15, 73);
/* oklch */ color: oklch(24.8% 0.101 300.3);
Tailwind
colors: {
  custom: {
    50: '#67507c',
    500: '#2a0f49',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f49;
$custom-light: #67507c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f49",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 267.931,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24814,
    "c": 0.10141,
    "h": 300.3
  },
  "luminance": 0.01315
}

Semantic roles & 50–950 ramp

primary
#2A0F49
secondary
#5D8330
accent
#E93F9A
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2A0F49

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

Preview Lab → · Contrast checker → · Palette generator →

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