#27023B#27023B

#27023B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.103 H 309.7°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#27023B
RGBrgb(39, 2, 59)
HSLhsl(279, 93%, 12%)
HSVhsv(279, 97%, 23%)
CMYKcmyk(33.9%, 96.6%, 0%, 76.9%)
CIE-LABlab(7.14, 29.66, -27.69)
CIE-LCHlch(7.14, 40.58, 316.96°)
OKLaboklab(21.3% 0.0656 -0.0789)
OKLCHoklch(21.3% 0.103 309.7)
XYZxyz(1.6477, 0.7906, 4.2026)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27023B #163B02
analogous
#0A023B #27023B #3B0233
triadic
#27023B #3B2702 #023B27
tetradic
#27023B #3B0A02 #163B02 #02333B
square
#27023B #3B0A02 #163B02 #02333B
split-complementary
#27023B #333B02 #023B0A
monochromatic
#14011E #14011E #27023B #4E0476 #7506B1

Accessibility & contrast

On white

18.13
#27023B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27023B
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27023B#FFFFFF#000000##FFFFFF
##27023B1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143C
Deuteranopia (green-blind)
#00163A
Tritanopia (blue-blind)
#24111F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #27023b;
/* rgb */ color: rgb(39, 2, 59);
/* oklch */ color: oklch(21.3% 0.103 309.7);
Tailwind
colors: {
  custom: {
    50: '#644771',
    500: '#27023b',
    950: '#000000',
  },
}
SCSS
$custom: #27023b;
$custom-light: #644771;
$custom-dark: #000000;
JSON
{
  "hex": "#27023b",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 59
  },
  "hsl": {
    "h": 278.947,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.213,
    "c": 0.10263,
    "h": 309.7
  },
  "luminance": 0.00791
}

Semantic roles & 50–950 ramp

primary
#27023B
secondary
#3D7E1A
accent
#FF2974
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#060008
muted
#7A777B

Preview Lab

Preview with #27023B

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

Preview Lab → · Contrast checker → · Palette generator →

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