#2A0F43#2A0F43

#2A0F43 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.094 H 303.9°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#2A0F43
RGBrgb(42, 15, 67)
HSLhsl(271, 63%, 16%)
HSVhsv(271, 78%, 26%)
CMYKcmyk(37.3%, 77.6%, 0%, 73.7%)
CIE-LABlab(10.84, 25.45, -27.36)
CIE-LCHlch(10.84, 37.37, 312.93°)
OKLaboklab(24.26% 0.0523 -0.0778)
OKLCHoklch(24.26% 0.094 303.9)
XYZxyz(2.1386, 1.2391, 5.4356)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F43 #28430F
analogous
#100F43 #2A0F43 #430F42
triadic
#2A0F43 #432A0F #0F432A
tetradic
#2A0F43 #43100F #28430F #0F4243
square
#2A0F43 #43100F #28430F #0F4243
split-complementary
#2A0F43 #42430F #0F4310
monochromatic
#100619 #100619 #2A0F43 #491A75 #6925A7

Accessibility & contrast

On white

16.83
#2A0F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2A0F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0F43
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F43#FFFFFF#000000##FFFFFF
##2A0F431.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D45
Deuteranopia (green-blind)
#001D42
Tritanopia (blue-blind)
#251B27
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2a0f43;
/* rgb */ color: rgb(42, 15, 67);
/* oklch */ color: oklch(24.3% 0.094 303.9);
Tailwind
colors: {
  custom: {
    50: '#665077',
    500: '#2a0f43',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f43;
$custom-light: #665077;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f43",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 271.154,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24263,
    "c": 0.09373,
    "h": 303.9
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#2A0F43
secondary
#557D30
accent
#E64191
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2A0F43

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

Preview Lab → · Contrast checker → · Palette generator →

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