#231035#231035

#231035 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.2% C 0.071 H 305.0°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#231035
RGBrgb(35, 16, 53)
HSLhsl(271, 54%, 14%)
HSVhsv(271, 70%, 21%)
CMYKcmyk(34%, 69.8%, 0%, 79.2%)
CIE-LABlab(8.87, 18.82, -20.58)
CIE-LCHlch(8.87, 27.89, 312.43°)
OKLaboklab(22.24% 0.0407 -0.0581)
OKLCHoklch(22.24% 0.071 305)
XYZxyz(1.5209, 0.9850, 3.4775)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231035 #223510
analogous
#101035 #231035 #351034
triadic
#231035 #352310 #103523
tetradic
#231035 #351010 #223510 #103435
square
#231035 #351010 #223510 #103435
split-complementary
#231035 #343510 #103510
monochromatic
#100718 #100718 #231035 #421E64 #612C93

Accessibility & contrast

On white

17.54
#231035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#231035 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231035
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231035#FFFFFF#000000##FFFFFF
##2310351.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021936
Deuteranopia (green-blind)
#081934
Tritanopia (blue-blind)
#201720
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #231035;
/* rgb */ color: rgb(35, 16, 53);
/* oklch */ color: oklch(22.2% 0.071 305.0);
Tailwind
colors: {
  custom: {
    50: '#5f4f6c',
    500: '#231035',
    950: '#000000',
  },
}
SCSS
$custom: #231035;
$custom-light: #5f4f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#231035",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 270.811,
    "s": 53.623,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22239,
    "c": 0.07098,
    "h": 305
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#231035
secondary
#506F32
accent
#DD4B92
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050207
muted
#79787A

Preview Lab

Preview with #231035

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

Preview Lab → · Contrast checker → · Palette generator →

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