#270E3E#270E3E

#270E3E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.088 H 304.2°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#270E3E
RGBrgb(39, 14, 62)
HSLhsl(271, 63%, 15%)
HSVhsv(271, 77%, 24%)
CMYKcmyk(37.1%, 77.4%, 0%, 75.7%)
CIE-LABlab(9.74, 23.84, -25.62)
CIE-LCHlch(9.74, 35.00, 312.94°)
OKLaboklab(23.24% 0.0495 -0.0728)
OKLCHoklch(23.24% 0.088 304.2)
XYZxyz(1.8630, 1.0932, 4.6694)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E3E #253E0E
analogous
#0F0E3E #270E3E #3E0E3D
triadic
#270E3E #3E270E #0E3E27
tetradic
#270E3E #3E0F0E #253E0E #0E3D3E
square
#270E3E #3E0F0E #253E0E #0E3D3E
split-complementary
#270E3E #3D3E0E #0E3E0F
monochromatic
#100619 #100619 #270E3E #461970 #6625A2

Accessibility & contrast

On white

17.23
#270E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#270E3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270E3E
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E3E#FFFFFF#000000##FFFFFF
##270E3E1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#011B3D
Tritanopia (blue-blind)
#231924
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #270e3e;
/* rgb */ color: rgb(39, 14, 62);
/* oklch */ color: oklch(23.2% 0.088 304.2);
Tailwind
colors: {
  custom: {
    50: '#644e74',
    500: '#270e3e',
    950: '#000000',
  },
}
SCSS
$custom: #270e3e;
$custom-light: #644e74;
$custom-dark: #000000;
JSON
{
  "hex": "#270e3e",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 62
  },
  "hsl": {
    "h": 271.25,
    "s": 63.158,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23242,
    "c": 0.08797,
    "h": 304.2
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

primary
#270E3E
secondary
#52792F
accent
#E64290
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #270E3E

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

Preview Lab → · Contrast checker → · Palette generator →

#270E3E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva