#2A0743#2A0743

#2A0743 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.2% C 0.105 H 306.0°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#2A0743
RGBrgb(42, 7, 67)
HSLhsl(275, 81%, 15%)
HSVhsv(275, 90%, 26%)
CMYKcmyk(37.3%, 89.6%, 0%, 73.7%)
CIE-LABlab(9.40, 29.57, -29.71)
CIE-LCHlch(9.40, 41.92, 314.86°)
OKLaboklab(23.24% 0.0615 -0.0846)
OKLCHoklch(23.24% 0.105 306)
XYZxyz(2.0437, 1.0495, 5.4040)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0743 #204307
analogous
#0C0743 #2A0743 #43073E
triadic
#2A0743 #432A07 #07432A
tetradic
#2A0743 #430C07 #204307 #073E43
square
#2A0743 #430C07 #204307 #073E43
split-complementary
#2A0743 #3E4307 #07430C
monochromatic
#11031C #11031C #2A0743 #4D0D7A #6F13B2

Accessibility & contrast

On white

17.36
#2A0743 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0743
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0743#FFFFFF#000000##FFFFFF
##2A07431.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001945
Deuteranopia (green-blind)
#001A42
Tritanopia (blue-blind)
#251725
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0743;
/* rgb */ color: rgb(42, 7, 67);
/* oklch */ color: oklch(23.2% 0.105 306.0);
Tailwind
colors: {
  custom: {
    50: '#674b78',
    500: '#2a0743',
    950: '#000000',
  },
}
SCSS
$custom: #2a0743;
$custom-light: #674b78;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0743",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 67
  },
  "hsl": {
    "h": 275,
    "s": 81.081,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23242,
    "c": 0.1046,
    "h": 306
  },
  "luminance": 0.01049
}

Semantic roles & 50–950 ramp

primary
#2A0743
secondary
#4B8224
accent
#F73083
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2A0743

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

Preview Lab → · Contrast checker → · Palette generator →

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