#2F243C#2F243C

#2F243C is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.4% C 0.045 H 304.7°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#2F243C
RGBrgb(47, 36, 60)
HSLhsl(268, 25%, 19%)
HSVhsv(268, 40%, 24%)
CMYKcmyk(21.7%, 40%, 0%, 76.5%)
CIE-LABlab(16.47, 11.07, -13.48)
CIE-LCHlch(16.47, 17.44, 309.41°)
OKLaboklab(28.43% 0.0258 -0.0372)
OKLCHoklch(28.43% 0.045 304.7)
XYZxyz(2.6186, 2.1923, 4.5593)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F243C #313C24
analogous
#24253C #2F243C #3B243C
triadic
#2F243C #3C2F24 #243C2F
tetradic
#2F243C #3C2425 #313C24 #243C3B
square
#2F243C #3C2425 #313C24 #243C3B
split-complementary
#2F243C #3C3B24 #253C24
monochromatic
#0F0B13 #110D16 #2F243C #4D3B62 #6B5289

Accessibility & contrast

On white

14.60
#2F243C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2F243C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F243C
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F243C#FFFFFF#000000##FFFFFF
##2F243C1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283D
Deuteranopia (green-blind)
#21293B
Tritanopia (blue-blind)
#2D282D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f243c;
/* rgb */ color: rgb(47, 36, 60);
/* oklch */ color: oklch(28.4% 0.045 304.7);
Tailwind
colors: {
  custom: {
    50: '#685e71',
    500: '#2f243c',
    950: '#000000',
  },
}
SCSS
$custom: #2f243c;
$custom-light: #685e71;
$custom-dark: #000000;
JSON
{
  "hex": "#2f243c",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 60
  },
  "hsl": {
    "h": 267.5,
    "s": 25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28426,
    "c": 0.0453,
    "h": 304.7
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#2F243C
secondary
#5F6E4D
accent
#C16698
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2F243C

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

Preview Lab → · Contrast checker → · Palette generator →

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