#2A0D3F#2A0D3F

#2A0D3F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.092 H 307.3°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#2A0D3F
RGBrgb(42, 13, 63)
HSLhsl(275, 66%, 15%)
HSVhsv(275, 79%, 25%)
CMYKcmyk(33.3%, 79.4%, 0%, 75.3%)
CIE-LABlab(10.10, 25.44, -25.73)
CIE-LCHlch(10.10, 36.19, 314.68°)
OKLaboklab(23.62% 0.0555 -0.073)
OKLCHoklch(23.62% 0.092 307.3)
XYZxyz(1.9958, 1.1390, 4.8164)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0D3F #223F0D
analogous
#110D3F #2A0D3F #3F0D3B
triadic
#2A0D3F #3F2A0D #0D3F2A
tetradic
#2A0D3F #3F110D #223F0D #0D3B3F
square
#2A0D3F #3F110D #223F0D #0D3B3F
split-complementary
#2A0D3F #3B3F0D #0D3F11
monochromatic
#110519 #110519 #2A0D3F #4C1772 #6E22A4

Accessibility & contrast

On white

17.10
#2A0D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0D3F
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0D3F#FFFFFF#000000##FFFFFF
##2A0D3F1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#021C3E
Tritanopia (blue-blind)
#271824
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2a0d3f;
/* rgb */ color: rgb(42, 13, 63);
/* oklch */ color: oklch(23.6% 0.092 307.3);
Tailwind
colors: {
  custom: {
    50: '#664e74',
    500: '#2a0d3f',
    950: '#000000',
  },
}
SCSS
$custom: #2a0d3f;
$custom-light: #664e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0d3f",
  "rgb": {
    "r": 42,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 274.8,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23624,
    "c": 0.0917,
    "h": 307.3
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

primary
#2A0D3F
secondary
#4E7B2D
accent
#E93F86
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2A0D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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