#230227#230227

#230227 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.7% C 0.081 H 323.5°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#230227
RGBrgb(35, 2, 39)
HSLhsl(294, 90%, 8%)
HSVhsv(294, 95%, 15%)
CMYKcmyk(10.3%, 94.9%, 0%, 84.7%)
CIE-LABlab(4.94, 22.17, -16.38)
CIE-LCHlch(4.94, 27.56, 323.55°)
OKLaboklab(18.7% 0.0651 -0.0482)
OKLCHoklch(18.7% 0.081 323.5)
XYZxyz(1.0810, 0.5473, 1.9678)
Luminance0.0055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230227 #062702
analogous
#100227 #230227 #270218
triadic
#230227 #272302 #022723
tetradic
#230227 #271002 #062702 #021827
square
#230227 #271002 #062702 #021827
split-complementary
#230227 #182702 #022710
monochromatic
#1A011D #1A011D #230227 #570561 #8B089B

Accessibility & contrast

On white

18.93
#230227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#230227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230227
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230227#FFFFFF#000000##FFFFFF
##2302271.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E28
Deuteranopia (green-blind)
#071226
Tritanopia (blue-blind)
#240713
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #230227;
/* rgb */ color: rgb(35, 2, 39);
/* oklch */ color: oklch(18.7% 0.081 323.5);
Tailwind
colors: {
  custom: {
    50: '#5f4761',
    500: '#230227',
    950: '#000000',
  },
}
SCSS
$custom: #230227;
$custom-light: #5f4761;
$custom-dark: #000000;
JSON
{
  "hex": "#230227",
  "rgb": {
    "r": 35,
    "g": 2,
    "b": 39
  },
  "hsl": {
    "h": 293.514,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18705,
    "c": 0.08103,
    "h": 323.5
  },
  "luminance": 0.00547
}

Semantic roles & 50–950 ramp

primary
#230227
secondary
#226C18
accent
#FF2940
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#050005
muted
#797779

Preview Lab

Preview with #230227

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

Preview Lab → · Contrast checker → · Palette generator →

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