#23062F#23062F

#23062F is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.1% C 0.081 H 314.1°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#23062F
RGBrgb(35, 6, 47)
HSLhsl(282, 77%, 10%)
HSVhsv(282, 87%, 18%)
CMYKcmyk(25.5%, 87.2%, 0%, 81.6%)
CIE-LABlab(6.26, 22.74, -20.34)
CIE-LCHlch(6.26, 30.51, 318.19°)
OKLaboklab(20.1% 0.0563 -0.0581)
OKLCHoklch(20.1% 0.081 314.1)
XYZxyz(1.2713, 0.6929, 2.7555)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23062F #122F06
analogous
#0E062F #23062F #2F0626
triadic
#23062F #2F2306 #062F23
tetradic
#23062F #2F0E06 #122F06 #06262F
square
#23062F #2F0E06 #122F06 #06262F
split-complementary
#23062F #262F06 #062F0E
monochromatic
#14031B #14031B #23062F #4B0D65 #74149C

Accessibility & contrast

On white

18.44
#23062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#23062F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23062F
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23062F#FFFFFF#000000##FFFFFF
##23062F1.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#04152E
Tritanopia (blue-blind)
#220E19
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #23062f;
/* rgb */ color: rgb(35, 6, 47);
/* oklch */ color: oklch(20.1% 0.081 314.1);
Tailwind
colors: {
  custom: {
    50: '#604968',
    500: '#23062f',
    950: '#000000',
  },
}
SCSS
$custom: #23062f;
$custom-light: #604968;
$custom-dark: #000000;
JSON
{
  "hex": "#23062f",
  "rgb": {
    "r": 35,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 282.439,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20101,
    "c": 0.08093,
    "h": 314.1
  },
  "luminance": 0.00693
}

Semantic roles & 50–950 ramp

primary
#23062F
secondary
#387021
accent
#F4346C
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #23062F

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

Preview Lab → · Contrast checker → · Palette generator →

#23062F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva