#230727#230727

#230727 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.6% C 0.070 H 322.5°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#230727
RGBrgb(35, 7, 39)
HSLhsl(293, 70%, 9%)
HSVhsv(293, 82%, 15%)
CMYKcmyk(10.3%, 82.1%, 0%, 84.7%)
CIE-LABlab(5.92, 19.80, -14.85)
CIE-LCHlch(5.92, 24.74, 323.13°)
OKLaboklab(19.61% 0.0553 -0.0424)
OKLCHoklch(19.61% 0.07 322.5)
XYZxyz(1.1353, 0.6558, 1.9859)
Luminance0.0066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230727 #0B2707
analogous
#130727 #230727 #27071B
triadic
#230727 #272307 #072723
tetradic
#230727 #271307 #0B2707 #071B27
square
#230727 #271307 #0B2707 #071B27
split-complementary
#230727 #1B2707 #072713
monochromatic
#17051A #17051A #230727 #52105B #801A8F

Accessibility & contrast

On white

18.56
#230727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#230727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230727
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230727#FFFFFF#000000##FFFFFF
##2307271.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021128
Deuteranopia (green-blind)
#0B1426
Tritanopia (blue-blind)
#240C15
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #230727;
/* rgb */ color: rgb(35, 7, 39);
/* oklch */ color: oklch(19.6% 0.070 322.5);
Tailwind
colors: {
  custom: {
    50: '#5f4961',
    500: '#230727',
    950: '#000000',
  },
}
SCSS
$custom: #230727;
$custom-light: #5f4961;
$custom-dark: #000000;
JSON
{
  "hex": "#230727",
  "rgb": {
    "r": 35,
    "g": 7,
    "b": 39
  },
  "hsl": {
    "h": 292.5,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19611,
    "c": 0.06963,
    "h": 322.5
  },
  "luminance": 0.00656
}

Semantic roles & 50–950 ramp

primary
#230727
secondary
#2C6623
accent
#EC3B52
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040105
muted
#797779

Preview Lab

Preview with #230727

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

Preview Lab → · Contrast checker → · Palette generator →

#230727 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva