#230538#230538

#230538 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.093 H 306.7°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#230538
RGBrgb(35, 5, 56)
HSLhsl(275, 84%, 12%)
HSVhsv(275, 91%, 22%)
CMYKcmyk(37.5%, 91.1%, 0%, 78%)
CIE-LABlab(6.79, 26.10, -26.12)
CIE-LCHlch(6.79, 36.93, 314.98°)
OKLaboklab(20.79% 0.0557 -0.0747)
OKLCHoklch(20.79% 0.093 306.7)
XYZxyz(1.4611, 0.7514, 3.8087)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230538 #1A3805
analogous
#090538 #230538 #380534
triadic
#230538 #382305 #053823
tetradic
#230538 #380905 #1A3805 #053438
square
#230538 #380905 #1A3805 #053438
split-complementary
#230538 #343805 #053809
monochromatic
#12031C #12031C #230538 #460A70 #690FA8

Accessibility & contrast

On white

18.26
#230538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230538
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230538#FFFFFF#000000##FFFFFF
##2305381.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001537
Tritanopia (blue-blind)
#1F121E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #230538;
/* rgb */ color: rgb(35, 5, 56);
/* oklch */ color: oklch(20.8% 0.093 306.7);
Tailwind
colors: {
  custom: {
    50: '#61486f',
    500: '#230538',
    950: '#000000',
  },
}
SCSS
$custom: #230538;
$custom-light: #61486f;
$custom-dark: #000000;
JSON
{
  "hex": "#230538",
  "rgb": {
    "r": 35,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 275.294,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20789,
    "c": 0.09313,
    "h": 306.7
  },
  "luminance": 0.00751
}

Semantic roles & 50–950 ramp

primary
#230538
secondary
#457920
accent
#FA2E82
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230538

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

Preview Lab → · Contrast checker → · Palette generator →

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