#2F0230#2F0230

#2F0230 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.095 H 327.3°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#2F0230
RGBrgb(47, 2, 48)
HSLhsl(299, 92%, 10%)
HSVhsv(299, 96%, 19%)
CMYKcmyk(2.1%, 95.8%, 0%, 81.2%)
CIE-LABlab(7.78, 28.96, -18.53)
CIE-LCHlch(7.78, 34.38, 327.39°)
OKLaboklab(21.78% 0.0803 -0.0516)
OKLCHoklch(21.78% 0.095 327.3)
XYZxyz(1.7275, 0.8613, 2.8710)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0230 #033002
analogous
#180230 #2F0230 #30021A
triadic
#2F0230 #302F02 #02302F
tetradic
#2F0230 #301802 #033002 #021A30
square
#2F0230 #301802 #033002 #021A30
split-complementary
#2F0230 #1A3002 #023018
monochromatic
#1D011D #1D011D #2F0230 #69046B #A207A6

Accessibility & contrast

On white

17.92
#2F0230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F0230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0230
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0230#FFFFFF#000000##FFFFFF
##2F02301.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#0E192F
Tritanopia (blue-blind)
#310919
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0230;
/* rgb */ color: rgb(47, 2, 48);
/* oklch */ color: oklch(21.8% 0.095 327.3);
Tailwind
colors: {
  custom: {
    50: '#6a4868',
    500: '#2f0230',
    950: '#000000',
  },
}
SCSS
$custom: #2f0230;
$custom-light: #6a4868;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0230",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 298.696,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2178,
    "c": 0.09541,
    "h": 327.3
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#2F0230
secondary
#1B7519
accent
#FF292D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #2F0230

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

Preview Lab → · Contrast checker → · Palette generator →

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