#230537#230537

#230537 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.7% C 0.092 H 307.5°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#230537
RGBrgb(35, 5, 55)
HSLhsl(276, 83%, 12%)
HSVhsv(276, 91%, 22%)
CMYKcmyk(36.4%, 90.9%, 0%, 78.4%)
CIE-LABlab(6.70, 25.79, -25.53)
CIE-LCHlch(6.70, 36.29, 315.28°)
OKLaboklab(20.69% 0.056 -0.073)
OKLCHoklch(20.69% 0.092 307.5)
XYZxyz(1.4368, 0.7417, 3.6812)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230537 #193705
analogous
#0A0537 #230537 #370532
triadic
#230537 #372305 #053723
tetradic
#230537 #370A05 #193705 #053237
square
#230537 #370A05 #193705 #053237
split-complementary
#230537 #323705 #05370A
monochromatic
#12031C #12031C #230537 #470A6F #6A0FA7

Accessibility & contrast

On white

18.29
#230537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230537
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230537#FFFFFF#000000##FFFFFF
##2305371.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001438
Deuteranopia (green-blind)
#001536
Tritanopia (blue-blind)
#20111E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #230537;
/* rgb */ color: rgb(35, 5, 55);
/* oklch */ color: oklch(20.7% 0.092 307.5);
Tailwind
colors: {
  custom: {
    50: '#61486e',
    500: '#230537',
    950: '#000000',
  },
}
SCSS
$custom: #230537;
$custom-light: #61486e;
$custom-dark: #000000;
JSON
{
  "hex": "#230537",
  "rgb": {
    "r": 35,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 276,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2069,
    "c": 0.09198,
    "h": 307.5
  },
  "luminance": 0.00742
}

Semantic roles & 50–950 ramp

primary
#230537
secondary
#437820
accent
#FA2E80
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230537

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

Preview Lab → · Contrast checker → · Palette generator →

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