#2A0A44#2A0A44

#2A0A44 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.102 H 304.6°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#2A0A44
RGBrgb(42, 10, 68)
HSLhsl(273, 74%, 15%)
HSVhsv(273, 85%, 27%)
CMYKcmyk(38.2%, 85.3%, 0%, 73.3%)
CIE-LABlab(10.01, 28.36, -29.43)
CIE-LCHlch(10.01, 40.86, 313.94°)
OKLaboklab(23.7% 0.0579 -0.0838)
OKLCHoklch(23.7% 0.102 304.6)
XYZxyz(2.1065, 1.1267, 5.5742)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0A44 #24440A
analogous
#0D0A44 #2A0A44 #440A41
triadic
#2A0A44 #442A0A #0A442A
tetradic
#2A0A44 #440D0A #24440A #0A4144
square
#2A0A44 #440D0A #24440A #0A4144
split-complementary
#2A0A44 #41440A #0A440D
monochromatic
#10041B #10041B #2A0A44 #4B1279 #6C1AAF

Accessibility & contrast

On white

17.14
#2A0A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2A0A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0A44
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0A44#FFFFFF#000000##FFFFFF
##2A0A441.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001B43
Tritanopia (blue-blind)
#251926
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a0a44;
/* rgb */ color: rgb(42, 10, 68);
/* oklch */ color: oklch(23.7% 0.102 304.6);
Tailwind
colors: {
  custom: {
    50: '#674d78',
    500: '#2a0a44',
    950: '#000000',
  },
}
SCSS
$custom: #2a0a44;
$custom-light: #674d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0a44",
  "rgb": {
    "r": 42,
    "g": 10,
    "b": 68
  },
  "hsl": {
    "h": 273.103,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23698,
    "c": 0.10188,
    "h": 304.6
  },
  "luminance": 0.01127
}

Semantic roles & 50–950 ramp

primary
#2A0A44
secondary
#508129
accent
#F1378A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2A0A44

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

Preview Lab → · Contrast checker → · Palette generator →

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