#2F153C#2F153C

#2F153C is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.4% C 0.076 H 313.0°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#2F153C
RGBrgb(47, 21, 60)
HSLhsl(280, 48%, 16%)
HSVhsv(280, 65%, 24%)
CMYKcmyk(21.7%, 65%, 0%, 76.5%)
CIE-LABlab(12.40, 21.29, -19.87)
CIE-LCHlch(12.40, 29.12, 316.98°)
OKLaboklab(25.38% 0.0519 -0.0556)
OKLCHoklch(25.38% 0.076 313)
XYZxyz(2.2559, 1.4670, 4.4384)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F153C #223C15
analogous
#1B153C #2F153C #3C1535
triadic
#2F153C #3C2F15 #153C2F
tetradic
#2F153C #3C1B15 #223C15 #15353C
square
#2F153C #3C1B15 #223C15 #15353C
split-complementary
#2F153C #353C15 #153C1B
monochromatic
#120817 #120817 #2F153C #532569 #763597

Accessibility & contrast

On white

16.24
#2F153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2F153C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F153C
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F153C#FFFFFF#000000##FFFFFF
##2F153C1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1F3D
Deuteranopia (green-blind)
#13213B
Tritanopia (blue-blind)
#2E1C26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2f153c;
/* rgb */ color: rgb(47, 21, 60);
/* oklch */ color: oklch(25.4% 0.076 313.0);
Tailwind
colors: {
  custom: {
    50: '#695472',
    500: '#2f153c',
    950: '#000000',
  },
}
SCSS
$custom: #2f153c;
$custom-light: #695472;
$custom-dark: #000000;
JSON
{
  "hex": "#2f153c",
  "rgb": {
    "r": 47,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 280,
    "s": 48.148,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25381,
    "c": 0.07612,
    "h": 313
  },
  "luminance": 0.01467
}

Semantic roles & 50–950 ramp

primary
#2F153C
secondary
#4D7439
accent
#D8507D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F153C

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

Preview Lab → · Contrast checker → · Palette generator →

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