#230535#230535

#230535 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.090 H 309.1°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#230535
RGBrgb(35, 5, 53)
HSLhsl(278, 83%, 11%)
HSVhsv(278, 91%, 21%)
CMYKcmyk(34%, 90.6%, 0%, 79.2%)
CIE-LABlab(6.53, 25.16, -24.34)
CIE-LCHlch(6.53, 35.01, 315.94°)
OKLaboklab(20.5% 0.0566 -0.0696)
OKLCHoklch(20.5% 0.09 309.1)
XYZxyz(1.3899, 0.7229, 3.4338)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230535 #173505
analogous
#0B0535 #230535 #35052F
triadic
#230535 #352305 #053523
tetradic
#230535 #350B05 #173505 #052F35
square
#230535 #350B05 #173505 #052F35
split-complementary
#230535 #2F3505 #05350B
monochromatic
#12031C #12031C #230535 #480A6D #6D10A5

Accessibility & contrast

On white

18.35
#230535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#230535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230535
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230535#FFFFFF#000000##FFFFFF
##2305351.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#001534
Tritanopia (blue-blind)
#20101D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #230535;
/* rgb */ color: rgb(35, 5, 53);
/* oklch */ color: oklch(20.5% 0.090 309.1);
Tailwind
colors: {
  custom: {
    50: '#60486d',
    500: '#230535',
    950: '#000000',
  },
}
SCSS
$custom: #230535;
$custom-light: #60486d;
$custom-dark: #000000;
JSON
{
  "hex": "#230535",
  "rgb": {
    "r": 35,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 277.5,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20495,
    "c": 0.08969,
    "h": 309.1
  },
  "luminance": 0.00723
}

Semantic roles & 50–950 ramp

primary
#230535
secondary
#407620
accent
#F92F7B
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050107
muted
#79777A

Preview Lab

Preview with #230535

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

Preview Lab → · Contrast checker → · Palette generator →

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