#27023A#27023A

#27023A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.102 H 310.5°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#27023A
RGBrgb(39, 2, 58)
HSLhsl(280, 93%, 12%)
HSVhsv(280, 97%, 23%)
CMYKcmyk(32.8%, 96.6%, 0%, 77.3%)
CIE-LABlab(7.05, 29.38, -27.12)
CIE-LCHlch(7.05, 39.98, 317.29°)
OKLaboklab(21.2% 0.066 -0.0773)
OKLCHoklch(21.2% 0.102 310.5)
XYZxyz(1.6220, 0.7803, 4.0673)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27023A #153A02
analogous
#0B023A #27023A #3A0231
triadic
#27023A #3A2702 #023A27
tetradic
#27023A #3A0B02 #153A02 #02313A
square
#27023A #3A0B02 #153A02 #02313A
split-complementary
#27023A #313A02 #023A0B
monochromatic
#14011E #14011E #27023A #4F0475 #7706B0

Accessibility & contrast

On white

18.17
#27023A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#27023A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27023A
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27023A#FFFFFF#000000##FFFFFF
##27023A1.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#24101F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #27023a;
/* rgb */ color: rgb(39, 2, 58);
/* oklch */ color: oklch(21.2% 0.102 310.5);
Tailwind
colors: {
  custom: {
    50: '#644771',
    500: '#27023a',
    950: '#000000',
  },
}
SCSS
$custom: #27023a;
$custom-light: #644771;
$custom-dark: #000000;
JSON
{
  "hex": "#27023a",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 58
  },
  "hsl": {
    "h": 279.643,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.212,
    "c": 0.10162,
    "h": 310.5
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#27023A
secondary
#3C7D1A
accent
#FF2971
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#060007
muted
#7A777A

Preview Lab

Preview with #27023A

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

Preview Lab → · Contrast checker → · Palette generator →

#27023A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva