#231034#231034

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

Color values

HEX#231034
RGBrgb(35, 16, 52)
HSLhsl(272, 53%, 13%)
HSVhsv(272, 69%, 20%)
CMYKcmyk(32.7%, 69.2%, 0%, 79.6%)
CIE-LABlab(8.79, 18.51, -19.98)
CIE-LCHlch(8.79, 27.24, 312.82°)
OKLaboklab(22.16% 0.0407 -0.0564)
OKLCHoklch(22.16% 0.07 305.8)
XYZxyz(1.4981, 0.9759, 3.3576)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231034 #213410
analogous
#111034 #231034 #341033
triadic
#231034 #342310 #103423
tetradic
#231034 #341110 #213410 #103334
square
#231034 #341110 #213410 #103334
split-complementary
#231034 #333410 #103411
monochromatic
#100717 #100717 #231034 #421E63 #622D92

Accessibility & contrast

On white

17.57
#231034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231034
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231034#FFFFFF#000000##FFFFFF
##2310341.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231034;
/* rgb */ color: rgb(35, 16, 52);
/* oklch */ color: oklch(22.2% 0.070 305.8);
Tailwind
colors: {
  custom: {
    50: '#5f4f6c',
    500: '#231034',
    950: '#000000',
  },
}
SCSS
$custom: #231034;
$custom-light: #5f4f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#231034",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 271.667,
    "s": 52.941,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22158,
    "c": 0.06953,
    "h": 305.8
  },
  "luminance": 0.00976
}

Semantic roles & 50–950 ramp

primary
#231034
secondary
#4E6E32
accent
#DC4B90
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050207
muted
#79787A

Preview Lab

Preview with #231034

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

Preview Lab → · Contrast checker → · Palette generator →

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