#2F233D#2F233D

#2F233D is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.3% C 0.049 H 304.7°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#2F233D
RGBrgb(47, 35, 61)
HSLhsl(268, 27%, 19%)
HSVhsv(268, 43%, 24%)
CMYKcmyk(23%, 42.6%, 0%, 76.1%)
CIE-LABlab(16.22, 12.07, -14.55)
CIE-LCHlch(16.22, 18.90, 309.66°)
OKLaboklab(28.26% 0.0279 -0.0403)
OKLCHoklch(28.26% 0.049 304.7)
XYZxyz(2.6155, 2.1433, 4.6899)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F233D #313D23
analogous
#23243D #2F233D #3C233D
triadic
#2F233D #3D2F23 #233D2F
tetradic
#2F233D #3D2324 #313D23 #233D3C
square
#2F233D #3D2324 #313D23 #233D3C
split-complementary
#2F233D #3D3C23 #243D23
monochromatic
#0F0B13 #110D16 #2F233D #4D3964 #6B508B

Accessibility & contrast

On white

14.70
#2F233D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2F233D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F233D
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F233D#FFFFFF#000000##FFFFFF
##2F233D1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D283E
Deuteranopia (green-blind)
#20283C
Tritanopia (blue-blind)
#2D272D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f233d;
/* rgb */ color: rgb(47, 35, 61);
/* oklch */ color: oklch(28.3% 0.049 304.7);
Tailwind
colors: {
  custom: {
    50: '#685e72',
    500: '#2f233d',
    950: '#000000',
  },
}
SCSS
$custom: #2f233d;
$custom-light: #685e72;
$custom-dark: #000000;
JSON
{
  "hex": "#2f233d",
  "rgb": {
    "r": 47,
    "g": 35,
    "b": 61
  },
  "hsl": {
    "h": 267.692,
    "s": 27.083,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28258,
    "c": 0.04902,
    "h": 304.7
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#2F233D
secondary
#5F704C
accent
#C36498
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060408
muted
#7A797B

Preview Lab

Preview with #2F233D

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

Preview Lab → · Contrast checker → · Palette generator →

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