#270235#270235

#270235 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.7% C 0.097 H 314.5°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#270235
RGBrgb(39, 2, 53)
HSLhsl(284, 93%, 11%)
HSVhsv(284, 96%, 21%)
CMYKcmyk(26.4%, 96.2%, 0%, 79.2%)
CIE-LABlab(6.61, 27.98, -24.18)
CIE-LCHlch(6.61, 36.98, 319.17°)
OKLaboklab(20.71% 0.0678 -0.0689)
OKLCHoklch(20.71% 0.097 314.5)
XYZxyz(1.5009, 0.7318, 3.4297)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270235 #103502
analogous
#0D0235 #270235 #350229
triadic
#270235 #352702 #023527
tetradic
#270235 #350D02 #103502 #022935
square
#270235 #350D02 #103502 #022935
split-complementary
#270235 #293502 #02350D
monochromatic
#16011D #16011D #270235 #520470 #7E06AB

Accessibility & contrast

On white

18.32
#270235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#270235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270235
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270235#FFFFFF#000000##FFFFFF
##2702351.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#001634
Tritanopia (blue-blind)
#260E1C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #270235;
/* rgb */ color: rgb(39, 2, 53);
/* oklch */ color: oklch(20.7% 0.097 314.5);
Tailwind
colors: {
  custom: {
    50: '#64476d',
    500: '#270235',
    950: '#000000',
  },
}
SCSS
$custom: #270235;
$custom-light: #64476d;
$custom-dark: #000000;
JSON
{
  "hex": "#270235",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 53
  },
  "hsl": {
    "h": 283.529,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20712,
    "c": 0.09662,
    "h": 314.5
  },
  "luminance": 0.00732
}

Semantic roles & 50–950 ramp

primary
#270235
secondary
#34791A
accent
#FF2964
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060007
muted
#7A777A

Preview Lab

Preview with #270235

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

Preview Lab → · Contrast checker → · Palette generator →

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