#2F063F#2F063F

#2F063F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.6% C 0.103 H 314.1°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#2F063F
RGBrgb(47, 6, 63)
HSLhsl(283, 83%, 14%)
HSVhsv(283, 90%, 25%)
CMYKcmyk(25.4%, 90.5%, 0%, 75.3%)
CIE-LABlab(9.75, 30.09, -26.26)
CIE-LCHlch(9.75, 39.94, 318.88°)
OKLaboklab(23.56% 0.0718 -0.0743)
OKLCHoklch(23.56% 0.103 314.1)
XYZxyz(2.1345, 1.0935, 4.8003)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F063F #163F06
analogous
#12063F #2F063F #3F0632
triadic
#2F063F #3F2F06 #063F2F
tetradic
#2F063F #3F1206 #163F06 #06323F
square
#2F063F #3F1206 #163F06 #06323F
split-complementary
#2F063F #323F06 #063F12
monochromatic
#15031C #15031C #2F063F #590B77 #8211AF

Accessibility & contrast

On white

17.23
#2F063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2F063F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F063F
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F063F#FFFFFF#000000##FFFFFF
##2F063F1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#021C3E
Tritanopia (blue-blind)
#2D1423
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f063f;
/* rgb */ color: rgb(47, 6, 63);
/* oklch */ color: oklch(23.6% 0.103 314.1);
Tailwind
colors: {
  custom: {
    50: '#6a4b74',
    500: '#2f063f',
    950: '#000000',
  },
}
SCSS
$custom: #2f063f;
$custom-light: #6a4b74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f063f",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 283.158,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23555,
    "c": 0.10332,
    "h": 314.1
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

primary
#2F063F
secondary
#3C7F22
accent
#F92F68
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2F063F

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

Preview Lab → · Contrast checker → · Palette generator →

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