#270D37#270D37

#270D37 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.080 H 309.9°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#270D37
RGBrgb(39, 13, 55)
HSLhsl(277, 62%, 13%)
HSVhsv(277, 76%, 22%)
CMYKcmyk(29.1%, 76.4%, 0%, 78.4%)
CIE-LABlab(8.95, 22.44, -21.87)
CIE-LCHlch(8.95, 31.33, 315.75°)
OKLaboklab(22.49% 0.0516 -0.0617)
OKLCHoklch(22.49% 0.08 309.9)
XYZxyz(1.6701, 0.9951, 3.7178)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D37 #1D370D
analogous
#120D37 #270D37 #370D32
triadic
#270D37 #37270D #0D3727
tetradic
#270D37 #37120D #1D370D #0D3237
square
#270D37 #37120D #1D370D #0D3237
split-complementary
#270D37 #32370D #0D3712
monochromatic
#120619 #120619 #270D37 #4A1968 #6D249A

Accessibility & contrast

On white

17.51
#270D37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#270D37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270D37
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D37#FFFFFF#000000##FFFFFF
##270D371.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#071A36
Tritanopia (blue-blind)
#251620
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #270d37;
/* rgb */ color: rgb(39, 13, 55);
/* oklch */ color: oklch(22.5% 0.080 309.9);
Tailwind
colors: {
  custom: {
    50: '#634d6e',
    500: '#270d37',
    950: '#000000',
  },
}
SCSS
$custom: #270d37;
$custom-light: #634d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#270d37",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 55
  },
  "hsl": {
    "h": 277.143,
    "s": 61.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22486,
    "c": 0.08049,
    "h": 309.9
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#270D37
secondary
#48722D
accent
#E54381
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050107
muted
#7A777A

Preview Lab

Preview with #270D37

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

Preview Lab → · Contrast checker → · Palette generator →

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