#2A0744#2A0744

#2A0744 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.106 H 305.3°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#2A0744
RGBrgb(42, 7, 68)
HSLhsl(274, 81%, 15%)
HSVhsv(274, 90%, 27%)
CMYKcmyk(38.2%, 89.7%, 0%, 73.3%)
CIE-LABlab(9.49, 29.83, -30.26)
CIE-LCHlch(9.49, 42.49, 314.59°)
OKLaboklab(23.34% 0.0612 -0.0862)
OKLCHoklch(23.34% 0.106 305.3)
XYZxyz(2.0740, 1.0616, 5.5634)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0744 #214407
analogous
#0B0744 #2A0744 #440740
triadic
#2A0744 #442A07 #07442A
tetradic
#2A0744 #440B07 #214407 #074044
square
#2A0744 #440B07 #214407 #074044
split-complementary
#2A0744 #404407 #07440B
monochromatic
#11031C #11031C #2A0744 #4C0D7B #6F12B3

Accessibility & contrast

On white

17.32
#2A0744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2A0744 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0744
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0744#FFFFFF#000000##FFFFFF
##2A07441.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001B43
Tritanopia (blue-blind)
#251726
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0744;
/* rgb */ color: rgb(42, 7, 68);
/* oklch */ color: oklch(23.3% 0.106 305.3);
Tailwind
colors: {
  custom: {
    50: '#674b78',
    500: '#2a0744',
    950: '#000000',
  },
}
SCSS
$custom: #2a0744;
$custom-light: #674b78;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0744",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 68
  },
  "hsl": {
    "h": 274.426,
    "s": 81.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2334,
    "c": 0.10571,
    "h": 305.3
  },
  "luminance": 0.01062
}

Semantic roles & 50–950 ramp

primary
#2A0744
secondary
#4C8324
accent
#F83085
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2A0744

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

Preview Lab → · Contrast checker → · Palette generator →

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