#230F38#230F38

#230F38 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.077 H 303.1°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#230F38
RGBrgb(35, 15, 56)
HSLhsl(269, 58%, 14%)
HSVhsv(269, 73%, 22%)
CMYKcmyk(37.5%, 73.2%, 0%, 78%)
CIE-LABlab(8.86, 20.38, -22.77)
CIE-LCHlch(8.86, 30.56, 311.84°)
OKLaboklab(22.31% 0.0421 -0.0645)
OKLCHoklch(22.31% 0.077 303.1)
XYZxyz(1.5776, 0.9845, 3.8475)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F38 #24380F
analogous
#0F1038 #230F38 #380F38
triadic
#230F38 #38230F #0F3823
tetradic
#230F38 #380F10 #24380F #0F3838
square
#230F38 #380F10 #24380F #0F3838
split-complementary
#230F38 #38380F #10380F
monochromatic
#0F0618 #0F0618 #230F38 #411C68 #5F2999

Accessibility & contrast

On white

17.55
#230F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#230F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F38
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F38#FFFFFF#000000##FFFFFF
##230F381.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001939
Deuteranopia (green-blind)
#041937
Tritanopia (blue-blind)
#1F1821
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230f38;
/* rgb */ color: rgb(35, 15, 56);
/* oklch */ color: oklch(22.3% 0.077 303.1);
Tailwind
colors: {
  custom: {
    50: '#604e6f',
    500: '#230f38',
    950: '#000000',
  },
}
SCSS
$custom: #230f38;
$custom-light: #604e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#230f38",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 269.268,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22313,
    "c": 0.07707,
    "h": 303.1
  },
  "luminance": 0.00984
}

Semantic roles & 50–950 ramp

primary
#230F38
secondary
#527230
accent
#E14796
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230F38

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

Preview Lab → · Contrast checker → · Palette generator →

#230F38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva