#2F133D#2F133D

#2F133D is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.1% C 0.081 H 312.8°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#2F133D
RGBrgb(47, 19, 61)
HSLhsl(280, 53%, 16%)
HSVhsv(280, 69%, 24%)
CMYKcmyk(23%, 68.9%, 0%, 76.1%)
CIE-LABlab(12.00, 22.80, -21.21)
CIE-LCHlch(12.00, 31.14, 317.07°)
OKLaboklab(25.12% 0.0551 -0.0595)
OKLCHoklch(25.12% 0.081 312.8)
XYZxyz(2.2473, 1.4071, 4.5672)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F133D #213D13
analogous
#1A133D #2F133D #3D1336
triadic
#2F133D #3D2F13 #133D2F
tetradic
#2F133D #3D1A13 #213D13 #13363D
square
#2F133D #3D1A13 #213D13 #13363D
split-complementary
#2F133D #363D13 #133D1A
monochromatic
#120717 #120717 #2F133D #53226C #77309A

Accessibility & contrast

On white

16.39
#2F133D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2F133D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F133D
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F133D#FFFFFF#000000##FFFFFF
##2F133D1.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051E3E
Deuteranopia (green-blind)
#11203C
Tritanopia (blue-blind)
#2E1B25
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2f133d;
/* rgb */ color: rgb(47, 19, 61);
/* oklch */ color: oklch(25.1% 0.081 312.8);
Tailwind
colors: {
  custom: {
    50: '#695273',
    500: '#2f133d',
    950: '#000000',
  },
}
SCSS
$custom: #2f133d;
$custom-light: #695273;
$custom-dark: #000000;
JSON
{
  "hex": "#2f133d",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 61
  },
  "hsl": {
    "h": 280,
    "s": 52.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25118,
    "c": 0.08114,
    "h": 312.8
  },
  "luminance": 0.01407
}

Semantic roles & 50–950 ramp

primary
#2F133D
secondary
#4B7536
accent
#DC4C7C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F133D

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

Preview Lab → · Contrast checker → · Palette generator →

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