#2D0F43#2D0F43

#2D0F43 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.095 H 307.2°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#2D0F43
RGBrgb(45, 15, 67)
HSLhsl(275, 63%, 16%)
HSVhsv(275, 78%, 26%)
CMYKcmyk(32.8%, 77.6%, 0%, 73.7%)
CIE-LABlab(11.31, 26.19, -26.58)
CIE-LCHlch(11.31, 37.32, 314.57°)
OKLaboklab(24.7% 0.0572 -0.0754)
OKLCHoklch(24.7% 0.095 307.2)
XYZxyz(2.2659, 1.3048, 5.4416)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F43 #25430F
analogous
#130F43 #2D0F43 #430F3F
triadic
#2D0F43 #432D0F #0F432D
tetradic
#2D0F43 #43130F #25430F #0F3F43
square
#2D0F43 #43130F #25430F #0F3F43
split-complementary
#2D0F43 #3F430F #0F4313
monochromatic
#110619 #110619 #2D0F43 #4F1A75 #7025A7

Accessibility & contrast

On white

16.65
#2D0F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2D0F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F43
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F43#FFFFFF#000000##FFFFFF
##2D0F431.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D45
Deuteranopia (green-blind)
#031E42
Tritanopia (blue-blind)
#291B27
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d0f43;
/* rgb */ color: rgb(45, 15, 67);
/* oklch */ color: oklch(24.7% 0.095 307.2);
Tailwind
colors: {
  custom: {
    50: '#685077',
    500: '#2d0f43',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f43;
$custom-light: #685077;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f43",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 274.615,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24697,
    "c": 0.09462,
    "h": 307.2
  },
  "luminance": 0.01305
}

Semantic roles & 50–950 ramp

primary
#2D0F43
secondary
#517D30
accent
#E64187
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0F43

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

Preview Lab → · Contrast checker → · Palette generator →

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