#2A0F3D#2A0F3D

#2A0F3D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.7% C 0.086 H 308.1°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#2A0F3D
RGBrgb(42, 15, 61)
HSLhsl(275, 61%, 15%)
HSVhsv(275, 75%, 24%)
CMYKcmyk(31.1%, 75.4%, 0%, 76.1%)
CIE-LABlab(10.34, 23.76, -23.92)
CIE-LCHlch(10.34, 33.71, 314.81°)
OKLaboklab(23.74% 0.0531 -0.0677)
OKLCHoklch(23.74% 0.086 308.1)
XYZxyz(1.9678, 1.1708, 4.5363)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F3D #223D0F
analogous
#130F3D #2A0F3D #3D0F39
triadic
#2A0F3D #3D2A0F #0F3D2A
tetradic
#2A0F3D #3D130F #223D0F #0F393D
square
#2A0F3D #3D130F #223D0F #0F393D
split-complementary
#2A0F3D #393D0F #0F3D13
monochromatic
#110619 #110619 #2A0F3D #4C1B6E #6E279F

Accessibility & contrast

On white

17.02
#2A0F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0F3D
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F3D#FFFFFF#000000##FFFFFF
##2A0F3D1.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#071C3C
Tritanopia (blue-blind)
#271924
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2a0f3d;
/* rgb */ color: rgb(42, 15, 61);
/* oklch */ color: oklch(23.7% 0.086 308.1);
Tailwind
colors: {
  custom: {
    50: '#664f73',
    500: '#2a0f3d',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f3d;
$custom-light: #664f73;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f3d",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 275.217,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23744,
    "c": 0.08602,
    "h": 308.1
  },
  "luminance": 0.01171
}

Semantic roles & 50–950 ramp

primary
#2A0F3D
secondary
#4E7730
accent
#E44486
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2A0F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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