#2D0F3E#2D0F3E

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

Color values

HEX#2D0F3E
RGBrgb(45, 15, 62)
HSLhsl(278, 61%, 15%)
HSVhsv(278, 76%, 24%)
CMYKcmyk(27.4%, 75.8%, 0%, 75.7%)
CIE-LABlab(10.90, 24.84, -23.70)
CIE-LCHlch(10.90, 34.33, 316.34°)
OKLaboklab(24.28% 0.0578 -0.0669)
OKLCHoklch(24.28% 0.088 310.8)
XYZxyz(2.1223, 1.2474, 4.6855)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F3E #203E0F
analogous
#160F3E #2D0F3E #3E0F37
triadic
#2D0F3E #3E2D0F #0F3E2D
tetradic
#2D0F3E #3E160F #203E0F #0F373E
square
#2D0F3E #3E160F #203E0F #0F373E
split-complementary
#2D0F3E #373E0F #0F3E16
monochromatic
#120619 #120619 #2D0F3E #511B6F #7527A1

Accessibility & contrast

On white

16.81
#2D0F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0F3E
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F3E#FFFFFF#000000##FFFFFF
##2D0F3E1.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#091E3D
Tritanopia (blue-blind)
#2B1924
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0f3e;
/* rgb */ color: rgb(45, 15, 62);
/* oklch */ color: oklch(24.3% 0.088 310.8);
Tailwind
colors: {
  custom: {
    50: '#685073',
    500: '#2d0f3e',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f3e;
$custom-light: #685073;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f3e",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 278.298,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24276,
    "c": 0.08841,
    "h": 310.8
  },
  "luminance": 0.01247
}

Semantic roles & 50–950 ramp

primary
#2D0F3E
secondary
#4A7830
accent
#E4447E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D0F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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