#2A0943#2A0943

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

Color values

HEX#2A0943
RGBrgb(42, 9, 67)
HSLhsl(274, 76%, 15%)
HSVhsv(274, 87%, 26%)
CMYKcmyk(37.3%, 86.6%, 0%, 73.7%)
CIE-LABlab(9.74, 28.57, -29.15)
CIE-LCHlch(9.74, 40.81, 314.42°)
OKLaboklab(23.48% 0.0593 -0.083)
OKLCHoklch(23.48% 0.102 305.5)
XYZxyz(2.0654, 1.0929, 5.4112)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0943 #224309
analogous
#0D0943 #2A0943 #43093F
triadic
#2A0943 #432A09 #09432A
tetradic
#2A0943 #430D09 #224309 #093F43
square
#2A0943 #430D09 #224309 #093F43
split-complementary
#2A0943 #3F4309 #09430D
monochromatic
#11041B #11041B #2A0943 #4C1079 #6E17AF

Accessibility & contrast

On white

17.23
#2A0943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2A0943 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0943
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0943#FFFFFF#000000##FFFFFF
##2A09431.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A45
Deuteranopia (green-blind)
#001B42
Tritanopia (blue-blind)
#251826
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a0943;
/* rgb */ color: rgb(42, 9, 67);
/* oklch */ color: oklch(23.5% 0.102 305.5);
Tailwind
colors: {
  custom: {
    50: '#674c78',
    500: '#2a0943',
    950: '#000000',
  },
}
SCSS
$custom: #2a0943;
$custom-light: #674c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0943",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 274.138,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23484,
    "c": 0.10197,
    "h": 305.5
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

primary
#2A0943
secondary
#4E8127
accent
#F33587
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2A0943

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

Preview Lab → · Contrast checker → · Palette generator →

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